fixed another issue with mmocore passive skills

This commit is contained in:
Indyuce 2021-12-24 13:42:55 +01:00
parent 71cda8bf54
commit 0650138a77

View File

@ -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());