summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityAgeable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityAgeable.patch')
-rw-r--r--nms-patches/EntityAgeable.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/nms-patches/EntityAgeable.patch b/nms-patches/EntityAgeable.patch
index 8aba8a6a..a8ceef62 100644
--- a/nms-patches/EntityAgeable.patch
+++ b/nms-patches/EntityAgeable.patch
@@ -1,14 +1,14 @@
--- a/net/minecraft/server/EntityAgeable.java
+++ b/net/minecraft/server/EntityAgeable.java
-@@ -8,6 +8,7 @@
+@@ -10,6 +10,7 @@
protected int c;
- private float bw = -1.0F;
- private float bx;
+ private float bx = -1.0F;
+ private float by;
+ public boolean ageLocked; // CraftBukkit
public EntityAgeable(World world) {
super(world);
-@@ -26,13 +27,16 @@
+@@ -28,13 +29,16 @@
if (entityageable != null) {
entityageable.setAgeRaw(-24000);
entityageable.setPositionRotation(this.locX, this.locY, this.locZ, 0.0F, 0.0F);
@@ -26,7 +26,7 @@
}
}
}
-@@ -95,12 +99,14 @@
+@@ -97,12 +101,14 @@
super.b(nbttagcompound);
nbttagcompound.setInt("Age", this.getAge());
nbttagcompound.setInt("ForcedAge", this.b);
@@ -41,7 +41,7 @@
}
public void a(DataWatcherObject<?> datawatcherobject) {
-@@ -113,7 +119,7 @@
+@@ -115,7 +121,7 @@
public void n() {
super.n();