Fixed an issue wiht passive skills

This commit is contained in:
Jules 2022-02-09 18:53:14 +01:00
parent 5457ce8e59
commit 0146a2f643

View File

@ -114,7 +114,7 @@ public class ClassSkill implements CooldownObject {
}
public PassiveSkill toPassive(PlayerData caster) {
Validate.isTrue(!skill.getTrigger().isPassive(), "Skill is active");
Validate.isTrue(skill.getTrigger().isPassive(), "Skill is active");
return new PassiveSkill("MMOCorePassiveSkill", toCastable(caster), EquipmentSlot.OTHER, ModifierSource.OTHER);
}