mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
I had just compiled this, not sure how that errors slipped through
This commit is contained in:
parent
15b97782c4
commit
40772cbc67
@ -94,7 +94,7 @@ public class WorldEditPlayerListener extends PlayerListener {
|
|||||||
LocalPlayer player = wrapPlayer(event.getPlayer());
|
LocalPlayer player = wrapPlayer(event.getPlayer());
|
||||||
|
|
||||||
if (!(event.getAction() == Action.LEFT_CLICK_BLOCK && plugin.getWorldEdit().handleBlockLeftClick(player, pos))) {
|
if (!(event.getAction() == Action.LEFT_CLICK_BLOCK && plugin.getWorldEdit().handleBlockLeftClick(player, pos))) {
|
||||||
plugin.getWorldEdit().handleArmSwing(localPlayer);
|
plugin.getWorldEdit().handleArmSwing(player);
|
||||||
}
|
}
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
} else if (event.getAction() == Action.RIGHT_CLICK_BLOCK) {
|
} else if (event.getAction() == Action.RIGHT_CLICK_BLOCK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user