From 01d9f62bdde6ab266388d33ed616e7cca6e5e634 Mon Sep 17 00:00:00 2001 From: Brettflan Date: Wed, 16 May 2012 12:57:44 -0500 Subject: [PATCH] Removed bit of code which was apparently intended to optimize movement event code but which was actually slowing the process down a bit overall --- .../factions/listeners/FactionsPlayerListener.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java b/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java index 5c61c4aa..34467b03 100644 --- a/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java +++ b/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java @@ -69,9 +69,6 @@ public class FactionsPlayerListener implements Listener @EventHandler(priority = EventPriority.NORMAL) public void onPlayerMove(PlayerMoveEvent event) { - // Did we change block? - if (event.getFrom().equals(event.getTo())) return; - Player player = event.getPlayer(); FPlayer me = FPlayers.i.get(player);