13
0
geforkt von Mirrors/Paper

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
Dieser Commit ist enthalten in:
Jake Potrebic 2021-01-26 20:22:32 -08:00
Ursprung 5aad4e59c9
Commit 89e37e5701
4 geänderte Dateien mit 4 neuen und 16 gelöschten Zeilen

Datei anzeigen

@ -82,7 +82,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ if (this.noTickEquipmentDirty) {
+ this.noTickEquipmentDirty = false;
+ this.updateEntityEquipment();
+ this.updateEquipment();
+ }
+
+ return;
@ -136,18 +136,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
this.rightLegPose = 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
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java

Datei anzeigen

@ -1081,7 +1081,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
- SpigotTimings.timerEntityTickRest.stopTiming(); // Spigot
}
private void p() {
public void updateEquipment() { // PAIL private->public; updateEquipment
@@ -0,0 +0,0 @@ public abstract class EntityLiving extends Entity {
this.setMot(d4, d5, d6);

@ -1 +1 @@
Subproject commit 0bad58f1e28412140342f422bced8d8403837843
Subproject commit c3e684ef704c2685bc85b1f2b760d7075e434dfc

@ -1 +1 @@
Subproject commit 5bde3115bf508315e9ff2b83e1e42ecfd6eee4d7
Subproject commit 89d6047d1aea78b9011ba38681663780a63233c9