Fixed bed spawns for multiworld worlds. Thanks Meaglin!

This commit is contained in:
EvilSeph 2011-10-01 13:37:20 -04:00
parent 22baa13894
commit d532136903

View File

@ -500,6 +500,7 @@ public abstract class EntityHuman extends EntityLiving {
nbttagcompound.a("SpawnX", this.b.x); nbttagcompound.a("SpawnX", this.b.x);
nbttagcompound.a("SpawnY", this.b.y); nbttagcompound.a("SpawnY", this.b.y);
nbttagcompound.a("SpawnZ", this.b.z); nbttagcompound.a("SpawnZ", this.b.z);
nbttagcompound.setString("SpawnWorld", spawnWorld); // CraftBukkit - fixes bed spawns for multiworld worlds
} }
this.foodData.b(nbttagcompound); this.foodData.b(nbttagcompound);