We build for JDK 1.5.

This commit is contained in:
EvilSeph
2011-06-23 15:41:07 -04:00
parent 6e746ef79a
commit 22c28e593e
2 changed files with 2 additions and 2 deletions

View File

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