13
0
geforkt von Mirrors/Paper

Don't Special Case X Move Value

Dieser Commit ist enthalten in:
md_5 2013-10-06 17:37:54 +11:00
Ursprung f79333c2dc
Commit f3d31bfdff

Datei anzeigen

@ -0,0 +1,22 @@
From 89f9c8f06dbe1b36214500b30a2db3b5383f03c5 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
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