From 40772cbc670427e034294c3f9240e4004673a71f Mon Sep 17 00:00:00 2001 From: mrapple Date: Sat, 23 Jul 2011 10:54:38 -0500 Subject: [PATCH] I had just compiled this, not sure how that errors slipped through --- .../com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java b/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java index 6df113a1c..3d9d9de28 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/WorldEditPlayerListener.java @@ -94,7 +94,7 @@ public class WorldEditPlayerListener extends PlayerListener { LocalPlayer player = wrapPlayer(event.getPlayer()); if (!(event.getAction() == Action.LEFT_CLICK_BLOCK && plugin.getWorldEdit().handleBlockLeftClick(player, pos))) { - plugin.getWorldEdit().handleArmSwing(localPlayer); + plugin.getWorldEdit().handleArmSwing(player); } event.setCancelled(true); } else if (event.getAction() == Action.RIGHT_CLICK_BLOCK) {