[Bug] New avatars always created with C0 constellation

Fixes #1552
This commit is contained in:
AnimeGitB 2022-07-25 17:31:19 +09:30 committed by Luke H-W
parent ffeff92dd6
commit 883b6f1fcc

View File

@ -240,7 +240,7 @@ public final class GiveCommand implements CommandHandler {
}
private static Avatar makeAvatar(GiveItemParameters param) {
return makeAvatar(param.avatarData, param.lvl, Avatar.getMinPromoteLevel(param.lvl), 0);
return makeAvatar(param.avatarData, param.lvl, Avatar.getMinPromoteLevel(param.lvl), param.constellation);
}
private static Avatar makeAvatar(AvatarData avatarData, int level, int promoteLevel, int constellation) {