mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-25 23:07:50 +00:00
Save avatar in forceConstellationLevel (closes #1881)
This commit is contained in:
parent
c331a7f288
commit
c51f7610b2
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user