Removed unnecessary CrystalCaverns attacker null check.

This commit is contained in:
MobiusDevelopment 2022-10-01 10:06:59 +00:00
parent 961a2f88c1
commit 8c79978824
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);