153154155156157158159160161162163
if (we.handleBlockLeftClick(player, pos)) { event.setCanceled(true); } if (we.handleArmSwing(player)) { event.setCanceled(true); } break; }
127128129130131132133134135136137
if (we.handleBlockLeftClick(player, pos)) { event.setCancelled(true); } if (we.handleArmSwing(player)) { event.setCancelled(true); } if (!ignoreLeftClickAir) { final int taskId = Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
148149150151152153154155156157158
} else if (action == Action.LEFT_CLICK_AIR) { if (ignoreLeftClickAir) { return; } if (we.handleArmSwing(player)) { event.setCancelled(true); } } else if (action == Action.RIGHT_CLICK_BLOCK) {