Updated Upstream (Bukkit/CraftBukkit/Spigot) (#4728)
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: 30885166 Update to Minecraft 1.16.4 CraftBukkit Changes: 3af81c71 Update to Minecraft 1.16.4 Spigot Changes: f011ca24 Update to Minecraft 1.16.4 Co-authored-by: Mariell Hoversholm <proximyst@proximyst.com>
This commit is contained in:
@@ -41,7 +41,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ // Extracted to own function
|
||||
+ /*
|
||||
if (this.locY() < -64.0D) {
|
||||
this.am();
|
||||
this.an();
|
||||
}
|
||||
+ */
|
||||
+ this.performVoidDamage();
|
||||
@@ -62,8 +62,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ }
|
||||
+ }
|
||||
+ // Paper end
|
||||
+ protected final void doVoidDamage() { this.am(); } // Paper - OBFHELPER
|
||||
protected void am() {
|
||||
+
|
||||
+ protected final void doVoidDamage() { this.an(); } // Paper - OBFHELPER
|
||||
protected void an() {
|
||||
this.die();
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityMinecartAbstract.java b/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
||||
@@ -78,7 +79,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ // Extracted to own function
|
||||
+ /*
|
||||
if (this.locY() < -64.0D) {
|
||||
this.am();
|
||||
this.an();
|
||||
}
|
||||
+ */
|
||||
+ this.performVoidDamage();
|
||||
|
||||
Reference in New Issue
Block a user