diff options
Diffstat (limited to 'nms-patches/EntityBoat.patch')
-rw-r--r-- | nms-patches/EntityBoat.patch | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/nms-patches/EntityBoat.patch b/nms-patches/EntityBoat.patch index 3ae4271f..474b0a42 100644 --- a/nms-patches/EntityBoat.patch +++ b/nms-patches/EntityBoat.patch @@ -17,8 +17,8 @@ private static final DataWatcherObject<Integer> a = DataWatcher.a(EntityBoat.class, DataWatcherRegistry.b); @@ -32,6 +41,14 @@ - private EntityBoat.EnumStatus aI; - private double aJ; + private EntityBoat.EnumStatus aH; + private double aI; + // CraftBukkit start + // PAIL: Some of these haven't worked since a few updates, and since 1.9 they are less and less applicable. @@ -101,16 +101,15 @@ super.collide(entity); } -@@ -158,6 +214,8 @@ +@@ -158,6 +214,7 @@ return this.getDirection().e(); } + private Location lastLocation; // CraftBukkit -+ - public void m() { - this.aI = this.aH; - this.aH = this.t(); -@@ -178,7 +236,6 @@ + public void A_() { + this.aH = this.aG; + this.aG = this.t(); +@@ -178,7 +235,6 @@ if (this.n() > 0.0F) { this.setDamage(this.n() - 1.0F); } @@ -118,7 +117,7 @@ this.lastX = this.locX; this.lastY = this.locY; this.lastZ = this.locZ; -@@ -202,6 +259,22 @@ +@@ -202,6 +258,22 @@ this.motZ = 0.0D; } @@ -141,7 +140,7 @@ for (int i = 0; i <= 1; ++i) { if (this.a(i)) { this.f[i] = (float) ((double) this.f[i] + 0.01D); -@@ -599,6 +672,11 @@ +@@ -593,6 +665,11 @@ this.e(this.fallDistance, 1.0F); if (!this.world.isClientSide && !this.dead) { @@ -153,7 +152,7 @@ this.die(); if (this.world.getGameRules().getBoolean("doEntityDrops")) { int i; -@@ -612,6 +690,7 @@ +@@ -606,6 +683,7 @@ } } } |