Updated Upstream (CraftBukkit/Spigot) (#5119)
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing CraftBukkit Changes: c3e684ef SPIGOT-3789: Can't Remove Entity Equipment in Same Tick Spawned without using Consumer Spigot Changes: 89d6047d Rebuild patches
This commit is contained in:
@@ -82,7 +82,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+
|
+
|
||||||
+ if (this.noTickEquipmentDirty) {
|
+ if (this.noTickEquipmentDirty) {
|
||||||
+ this.noTickEquipmentDirty = false;
|
+ this.noTickEquipmentDirty = false;
|
||||||
+ this.updateEntityEquipment();
|
+ this.updateEquipment();
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ return;
|
+ return;
|
||||||
@@ -136,18 +136,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
this.rightLegPose = vector3f;
|
this.rightLegPose = vector3f;
|
||||||
this.datawatcher.set(EntityArmorStand.bh, vector3f);
|
this.datawatcher.set(EntityArmorStand.bh, vector3f);
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java
|
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
|
||||||
--- a/src/main/java/net/minecraft/server/EntityLiving.java
|
|
||||||
+++ b/src/main/java/net/minecraft/server/EntityLiving.java
|
|
||||||
@@ -0,0 +0,0 @@ public abstract class EntityLiving extends Entity {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
+ public final void updateEntityEquipment() { p(); }; // Paper - OBFHELPER
|
|
||||||
private void p() {
|
|
||||||
Map<EnumItemSlot, ItemStack> map = this.q();
|
|
||||||
|
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java
|
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java
|
||||||
|
|||||||
@@ -1081,7 +1081,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
- SpigotTimings.timerEntityTickRest.stopTiming(); // Spigot
|
- SpigotTimings.timerEntityTickRest.stopTiming(); // Spigot
|
||||||
}
|
}
|
||||||
|
|
||||||
private void p() {
|
public void updateEquipment() { // PAIL private->public; updateEquipment
|
||||||
@@ -0,0 +0,0 @@ public abstract class EntityLiving extends Entity {
|
@@ -0,0 +0,0 @@ public abstract class EntityLiving extends Entity {
|
||||||
|
|
||||||
this.setMot(d4, d5, d6);
|
this.setMot(d4, d5, d6);
|
||||||
|
|||||||
Submodule work/CraftBukkit updated: 0bad58f1e2...c3e684ef70
Submodule work/Spigot updated: 5bde3115bf...89d6047d1a
Reference in New Issue
Block a user