diff options
Diffstat (limited to 'nms-patches/ControllerMove.patch')
-rw-r--r-- | nms-patches/ControllerMove.patch | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/nms-patches/ControllerMove.patch b/nms-patches/ControllerMove.patch deleted file mode 100644 index 2f217365..00000000 --- a/nms-patches/ControllerMove.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- ../work/decompile-8eb82bde//net/minecraft/server/ControllerMove.java 2014-11-28 17:43:43.025707437 +0000 -+++ src/main/java/net/minecraft/server/ControllerMove.java 2014-11-28 17:38:22.000000000 +0000 -@@ -43,7 +43,8 @@ - double d3 = d0 * d0 + d2 * d2 + d1 * d1; - - if (d3 >= 2.500000277905201E-7D) { -- float f = (float) (Math.atan2(d1, d0) * 180.0D / 3.1415927410125732D) - 90.0F; -+ // CraftBukkit - Math -> TrigMath -+ float f = (float) (org.bukkit.craftbukkit.TrigMath.atan2(d1, d0) * 180.0D / 3.1415927410125732D) - 90.0F; - - this.a.yaw = this.a(this.a.yaw, f, 30.0F); - this.a.j((float) (this.e * this.a.getAttributeInstance(GenericAttributes.d).getValue())); |