SPIGOT-211: Fix mistake in EntityHuman breaking bed spawns
Dieser Commit ist enthalten in:
Ursprung
01f0122a9e
Commit
9f422c3424
@ -1,5 +1,5 @@
|
||||
--- ../work/decompile-8eb82bde/net/minecraft/server/EntityHuman.java 2014-12-10 16:27:47.832575157 +0000
|
||||
+++ src/main/java/net/minecraft/server/EntityHuman.java 2014-12-10 16:27:27.556575377 +0000
|
||||
--- ../work/decompile-8eb82bde/net/minecraft/server/EntityHuman.java 2014-12-13 22:35:14.800546027 +0000
|
||||
+++ src/main/java/net/minecraft/server/EntityHuman.java 2014-12-13 22:34:55.728546234 +0000
|
||||
@@ -8,13 +8,27 @@
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
@ -172,7 +172,7 @@
|
||||
|
||||
this.a(entityitem);
|
||||
if (flag1) {
|
||||
@@ -623,10 +702,18 @@
|
||||
@@ -623,6 +702,13 @@
|
||||
this.bv = new BlockPosition(this);
|
||||
this.a(true, true, false);
|
||||
}
|
||||
@ -186,11 +186,14 @@
|
||||
|
||||
if (nbttagcompound.hasKeyOfType("SpawnX", 99) && nbttagcompound.hasKeyOfType("SpawnY", 99) && nbttagcompound.hasKeyOfType("SpawnZ", 99)) {
|
||||
this.c = new BlockPosition(nbttagcompound.getInt("SpawnX"), nbttagcompound.getInt("SpawnY"), nbttagcompound.getInt("SpawnZ"));
|
||||
this.d = nbttagcompound.getBoolean("SpawnForced");
|
||||
+ nbttagcompound.setString("SpawnWorld", spawnWorld); // CraftBukkit - fixes bed spawns for multiworld worlds
|
||||
@@ -665,6 +751,7 @@
|
||||
if (itemstack != null && itemstack.getItem() != null) {
|
||||
nbttagcompound.set("SelectedItem", itemstack.save(new NBTTagCompound()));
|
||||
}
|
||||
+ nbttagcompound.setString("SpawnWorld", spawnWorld); // CraftBukkit - fixes bed spawns for multiworld worlds
|
||||
|
||||
}
|
||||
|
||||
this.foodData.a(nbttagcompound);
|
||||
@@ -684,7 +771,7 @@
|
||||
|
||||
if (damagesource.r()) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren