From 892b04cd3a72e1e87712daf5d261bf063d16e1a1 Mon Sep 17 00:00:00 2001 From: Ka0rX Date: Sun, 25 Jun 2023 11:14:47 +0100 Subject: [PATCH] Fixed Issue #870 about skill tree triggers being applied 2 times when using force-class. --- .../main/java/net/Indyuce/mmocore/api/player/PlayerData.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java index 668a566d..f2bf4363 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/player/PlayerData.java @@ -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(); }