Fixed NoSwing false-positives

This commit is contained in:
h31ix committed 2012-09-25 18:44:11 -04:00
1 parent b7cdeed104
commit 5e9b7b4ef0
2 files changed
+22 -7

No files matched your search

@@ -199,7 +199,6 @@ public class PlayerListener extends EventListener
public void onPlayerInteract(PlayerInteractEvent event)
{
Player player = event.getPlayer();
//Block playerClick = player.getTargetBlock(Utilities.getNonSolid(), 5);
PlayerInventory inv = player.getInventory();
if (event.getAction() == Action.RIGHT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_BLOCK)