Fixed Issue #870 about skill tree triggers being applied 2 times when using force-class.

This commit is contained in:
Ka0rX 2023-06-25 11:14:47 +01:00
parent 004a2b8673
commit 892b04cd3a

View File

@ -1129,8 +1129,6 @@ public class PlayerData extends SynchronizedDataHolder implements OfflinePlayerD
boundSkills.forEach((slot, info) -> info.close());
boundSkills.clear();
//Update skill tree.
setupSkillTree();
// Update stats
if (isOnline()) getStats().updateStats();
}