Don't compare player world to a plugin fetched world, instead compare the name.

This commit is contained in:
libraryaddict 2015-03-01 18:18:53 +13:00
parent 26e6b66cf5
commit 1fbadfa4f4

View File

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