From 22c28e593e797b1761920967689f37e74cc6a14a Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Thu, 23 Jun 2011 15:41:07 -0400 Subject: We build for JDK 1.5. --- src/main/java/net/minecraft/server/EntityPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net') diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index 5cd8ab1d..e7e8d0e3 100644 --- a/src/main/java/net/minecraft/server/EntityPlayer.java +++ b/src/main/java/net/minecraft/server/EntityPlayer.java @@ -67,7 +67,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting { if (world == null) { dead = false; ChunkCoordinates position = null; - if (!spawnWorld.isEmpty()) { + if (spawnWorld != null && !spawnWorld.equals("")) { CraftWorld cw = (CraftWorld) Bukkit.getServer().getWorld(spawnWorld); if (cw != null && M() != null) { world = cw.getHandle(); -- cgit v1.2.3