diff --git a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/others/TeleportWithEffect.java b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/others/TeleportWithEffect.java index a34fafdf3e..fd5cb136bf 100644 --- a/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/others/TeleportWithEffect.java +++ b/L2J_Mobius_Essence_4.0_DwellingOfSpirits/dist/game/data/scripts/ai/others/TeleportWithEffect.java @@ -40,7 +40,7 @@ public class TeleportWithEffect extends AbstractNpcAI @RegisterType(ListenerRegisterType.GLOBAL_PLAYERS) public void OnCreatureSkillFinishCast(OnCreatureSkillFinishCast event) { - if (event.getSkill() != CommonSkill.TELEPORT.getSkill()) + if (event.getSkill().getId() != CommonSkill.TELEPORT.getId()) { return; }