mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
fixed another issue with mmocore passive skills
This commit is contained in:
parent
71cda8bf54
commit
0650138a77
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user