diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityHuman.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityHuman.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index eef5347f..2c68c7c4 100644 --- a/src/main/java/net/minecraft/server/EntityHuman.java +++ b/src/main/java/net/minecraft/server/EntityHuman.java @@ -38,7 +38,7 @@ public abstract class EntityHuman extends EntityLiving { // CraftBukkit start public boolean sleeping; public boolean fauxSleeping; - public String spawnWorld; + public String spawnWorld = ""; // CraftBukkit end public ChunkCoordinates A; public int sleepTicks; // CraftBukkit - private -> public @@ -760,6 +760,7 @@ public abstract class EntityHuman extends EntityLiving { public void a(ChunkCoordinates chunkcoordinates) { if (chunkcoordinates != null) { this.b = new ChunkCoordinates(chunkcoordinates); + this.spawnWorld = world.worldData.name; } else { this.b = null; } |