From 46cd36bc093cddcc4ec69c1f58148adfb1854c39 Mon Sep 17 00:00:00 2001 From: MobiusDev <8391001+MobiusDevelopment@users.noreply.github.com> Date: Fri, 18 May 2018 23:54:25 +0000 Subject: [PATCH] Proper invul check related to teleport protection. Contributed by Sahar. --- .../l2jmobius/gameserver/model/actor/instance/L2PcInstance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java index 4d0558793a..3dd8568ae4 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/com/l2jmobius/gameserver/model/actor/instance/L2PcInstance.java @@ -6440,7 +6440,7 @@ public final class L2PcInstance extends L2Playable @Override public boolean isInvul() { - return super.isInvul() || (_teleportProtectEndTime > GameTimeController.getInstance().getGameTicks()); + return super.isInvul() || isTeleportProtected(); } /**