Save avatar in forceConstellationLevel (closes #1881)

This commit is contained in:
AnimeGitB 2022-10-22 12:43:57 +10:30
parent c331a7f288
commit c51f7610b2

View File

@ -809,12 +809,14 @@ public class Avatar {
if (level < 0) { // Special case for resetConst to remove inactive depots too
this.talentIdList.clear();
this.recalcStats();
this.save();
return;
}
this.talentIdList.removeAll(this.getTalentIdList()); // Only remove constellations from active depot
for (int i = 0; i < level; i++)
this.unlockConstellation(true);
this.recalcStats();
this.save();
}
public boolean sendSkillExtraChargeMap() {