From d532136903ff68562800719ba0554c315edb08be Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Sat, 1 Oct 2011 13:37:20 -0400 Subject: [PATCH] Fixed bed spawns for multiworld worlds. Thanks Meaglin! --- src/main/java/net/minecraft/server/EntityHuman.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index 68217e7aae..564fb28816 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);