From f3d31bfdffdb5af877c3e957c8bd4e4463879880 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 6 Oct 2013 17:37:54 +1100 Subject: [PATCH] Don't Special Case X Move Value --- ...0074-Don-t-Special-Case-X-Move-Value.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 CraftBukkit-Patches/0074-Don-t-Special-Case-X-Move-Value.patch diff --git a/CraftBukkit-Patches/0074-Don-t-Special-Case-X-Move-Value.patch b/CraftBukkit-Patches/0074-Don-t-Special-Case-X-Move-Value.patch new file mode 100644 index 0000000000..92262064f2 --- /dev/null +++ b/CraftBukkit-Patches/0074-Don-t-Special-Case-X-Move-Value.patch @@ -0,0 +1,22 @@ +From 89f9c8f06dbe1b36214500b30a2db3b5383f03c5 Mon Sep 17 00:00:00 2001 +From: md_5 +Date: Sun, 6 Oct 2013 17:36:28 +1100 +Subject: [PATCH] Don't Special Case X Move Value + + +diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java +index 10d853b..4117942 100644 +--- a/src/main/java/net/minecraft/server/PlayerConnection.java ++++ b/src/main/java/net/minecraft/server/PlayerConnection.java +@@ -222,7 +222,7 @@ public class PlayerConnection extends Connection { + this.lastPitch = to.getPitch(); + + // Skip the first time we do this +- if (from.getX() != Double.MAX_VALUE) { ++ if (true) { // Spigot - no special cases! + PlayerMoveEvent event = new PlayerMoveEvent(player, from, to); + this.server.getPluginManager().callEvent(event); + +-- +1.8.1.2 +