From 8c79978824553b954f63ed42bd2f1ae09a879598 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Sat, 1 Oct 2022 10:06:59 +0000 Subject: [PATCH] Removed unnecessary CrystalCaverns attacker null check. --- .../data/scripts/instances/CrystalCaverns/CrystalCaverns.java | 2 +- .../data/scripts/instances/CrystalCaverns/CrystalCaverns.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java index c70fb5ac85..54e81659fe 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java +++ b/L2J_Mobius_CT_2.4_Epilogue/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java @@ -1028,7 +1028,7 @@ public class CrystalCaverns extends AbstractInstance if (tmpworld instanceof CCWorld) { final CCWorld world = (CCWorld) tmpworld; - if ((world.getStatus() != 4) && (attacker != null)) + if (world.getStatus() != 4) { // Lucky cheater, the code only kicks his/her ass out of the dungeon teleportPlayer(attacker, new Location(149361, 172327, -945), 0); diff --git a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java index c70fb5ac85..54e81659fe 100644 --- a/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java +++ b/L2J_Mobius_CT_2.6_HighFive/dist/game/data/scripts/instances/CrystalCaverns/CrystalCaverns.java @@ -1028,7 +1028,7 @@ public class CrystalCaverns extends AbstractInstance if (tmpworld instanceof CCWorld) { final CCWorld world = (CCWorld) tmpworld; - if ((world.getStatus() != 4) && (attacker != null)) + if (world.getStatus() != 4) { // Lucky cheater, the code only kicks his/her ass out of the dungeon teleportPlayer(attacker, new Location(149361, 172327, -945), 0);