mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 22:44:17 +01:00
Fixed bed spawns for multiworld worlds. Thanks Meaglin!
This commit is contained in:
parent
22baa13894
commit
d532136903
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user