Don't compare player world to a plugin fetched world, instead compare the name.
This commit is contained in:
parent
26e6b66cf5
commit
1fbadfa4f4
@ -72,7 +72,7 @@ public abstract class TeamGame extends Game
|
||||
if (player.isDead())
|
||||
return;
|
||||
|
||||
if (player.getWorld() == UtilWorld.getWorld("world"))
|
||||
if (player.getWorld().getName().equalsIgnoreCase("world"))
|
||||
return;
|
||||
|
||||
if (!QuitOut)
|
||||
|
Loading…
Reference in New Issue
Block a user