From 0650138a77cfadb3f7e5bb227ea73fe5abbdfc19 Mon Sep 17 00:00:00 2001 From: Indyuce Date: Fri, 24 Dec 2021 13:42:55 +0100 Subject: [PATCH] fixed another issue with mmocore passive skills --- .../java/net/Indyuce/mmocore/api/player/stats/PlayerStats.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/Indyuce/mmocore/api/player/stats/PlayerStats.java b/src/main/java/net/Indyuce/mmocore/api/player/stats/PlayerStats.java index a7cdd3a5..614592ba 100644 --- a/src/main/java/net/Indyuce/mmocore/api/player/stats/PlayerStats.java +++ b/src/main/java/net/Indyuce/mmocore/api/player/stats/PlayerStats.java @@ -81,7 +81,7 @@ public class PlayerStats { * * This updates the player's passive skills */ - data.getMMOPlayerData().unregisterSkillTriggers("mmocoreClass"); + data.getMMOPlayerData().unregisterSkillTriggers("MMOCorePassiveSkill"); for (Skill.SkillInfo skill : data.getProfess().getSkills()) if (skill.getSkill().isPassive() && skill.getSkill() instanceof MythicSkill) data.getMMOPlayerData().registerSkillTrigger(((MythicSkill) skill.getSkill()).toMythicLib());