Fix trailblazer not having the right path in battle

This commit is contained in:
Melledy
2023-09-29 00:48:33 -07:00
parent 62bbce2607
commit 5e481b47cf

View File

@@ -249,7 +249,7 @@ public class GameAvatar implements GameEntity {
public BattleAvatar toBattleProto(int index) {
var proto = BattleAvatar.newInstance()
.setAvatarType(AvatarType.AVATAR_FORMAL_TYPE)
.setId(this.getAvatarId())
.setId(this.getExcel().getAvatarID())
.setLevel(this.getLevel())
.setPromotion(this.getPromotion())
.setRank(this.getRank())