diff options
author | EvilSeph <evilseph@gmail.com> | 2011-10-01 13:37:20 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2011-10-01 13:37:20 -0400 |
commit | d532136903ff68562800719ba0554c315edb08be (patch) | |
tree | 03ad794171ef976ac45b3fc767a156ec4f3ea87d /src/main/java/net | |
parent | 22baa13894264fad9584a10bcdf7427588c07989 (diff) | |
download | craftbukkit-d532136903ff68562800719ba0554c315edb08be.tar craftbukkit-d532136903ff68562800719ba0554c315edb08be.tar.gz craftbukkit-d532136903ff68562800719ba0554c315edb08be.tar.lz craftbukkit-d532136903ff68562800719ba0554c315edb08be.tar.xz craftbukkit-d532136903ff68562800719ba0554c315edb08be.zip |
Fixed bed spawns for multiworld worlds. Thanks Meaglin!
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityHuman.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index 68217e7a..564fb288 100644 --- a/src/main/java/net/minecraft/server/EntityHuman.java +++ b/src/main/java/net/minecraft/server/EntityHuman.java @@ -500,6 +500,7 @@ public abstract class EntityHuman extends EntityLiving { nbttagcompound.a("SpawnX", this.b.x); nbttagcompound.a("SpawnY", this.b.y); nbttagcompound.a("SpawnZ", this.b.z); + nbttagcompound.setString("SpawnWorld", spawnWorld); // CraftBukkit - fixes bed spawns for multiworld worlds } this.foodData.b(nbttagcompound); |