forked from Upstream/mmocore
Removed debug msg
This commit is contained in:
parent
afe3eec3fb
commit
547775a33e
@ -6,7 +6,6 @@ import net.Indyuce.mmocore.api.quest.trigger.SkillModifierTrigger;
|
||||
import net.Indyuce.mmocore.api.util.Closable;
|
||||
import net.Indyuce.mmocore.skill.ClassSkill;
|
||||
import org.apache.commons.lang.Validate;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@ -37,7 +36,6 @@ public class BoundSkillInfo implements Closable {
|
||||
if (classSkill.getSkill().getTrigger().isPassive()) {
|
||||
registered = classSkill.toPassive(playerData);
|
||||
registered.register(playerData.getMMOPlayerData());
|
||||
Bukkit.broadcastMessage("Registering passive skill " + classSkill.getSkill().getHandler().getId());
|
||||
} else registered = null;
|
||||
}
|
||||
|
||||
@ -66,10 +64,8 @@ public class BoundSkillInfo implements Closable {
|
||||
open = false;
|
||||
|
||||
// Unregister skill if passive
|
||||
if (isPassive()) {
|
||||
Bukkit.broadcastMessage("Unregistered passive skill " + classSkill.getSkill().getHandler().getId());
|
||||
if (isPassive())
|
||||
registered.unregister(playerData.getMMOPlayerData());
|
||||
}
|
||||
|
||||
// Remove skill buffs associated to the slot
|
||||
skillSlot.getSkillBuffTriggers().forEach(skillBuffTrigger -> skillBuffTrigger.remove(playerData, classSkill.getSkill().getHandler()));
|
||||
|
Loading…
Reference in New Issue
Block a user