Update to MC 1.12-pre2
This commit is contained in:
@@ -20,7 +20,7 @@ index 62e6830aa..e524a464f 100644
|
||||
+ }
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
|
||||
index 313100aed..7feed2995 100644
|
||||
index 3dff98596..e712ab370 100644
|
||||
--- a/src/main/java/net/minecraft/server/Entity.java
|
||||
+++ b/src/main/java/net/minecraft/server/Entity.java
|
||||
@@ -0,0 +0,0 @@ public abstract class Entity implements ICommandListener {
|
||||
@@ -31,7 +31,7 @@ index 313100aed..7feed2995 100644
|
||||
+ // Extracted to own function
|
||||
+ /*
|
||||
if (this.locY < -64.0D) {
|
||||
this.Y();
|
||||
this.ac();
|
||||
}
|
||||
+ */
|
||||
+ this.checkAndDoHeightDamage();
|
||||
@@ -55,19 +55,19 @@ index 313100aed..7feed2995 100644
|
||||
+ }
|
||||
+ // Paper end
|
||||
+
|
||||
protected void H() {
|
||||
protected void I() {
|
||||
if (this.portalCooldown > 0) {
|
||||
--this.portalCooldown;
|
||||
@@ -0,0 +0,0 @@ public abstract class Entity implements ICommandListener {
|
||||
this.fireTicks = 0;
|
||||
}
|
||||
|
||||
+ protected final void kill() { this.Y(); } // Paper - OBFHELPER
|
||||
protected void Y() {
|
||||
+ protected final void kill() { this.ac(); } // Paper - OBFHELPER
|
||||
protected void ac() {
|
||||
this.die();
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityMinecartAbstract.java b/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
||||
index fd3337d3f..ca1faa41d 100644
|
||||
index f4ad25dae..4b1c7ad99 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityMinecartAbstract.java
|
||||
@@ -0,0 +0,0 @@ public abstract class EntityMinecartAbstract extends Entity implements INamableT
|
||||
@@ -78,7 +78,7 @@ index fd3337d3f..ca1faa41d 100644
|
||||
+ // Extracted to own function
|
||||
+ /*
|
||||
if (this.locY < -64.0D) {
|
||||
this.Y();
|
||||
this.ac();
|
||||
}
|
||||
+ */
|
||||
+ this.checkAndDoHeightDamage();
|
||||
|
||||
Reference in New Issue
Block a user