We don't need that anymore! Fixes issue #98

This commit is contained in:
H31IX committed 2012-06-21 01:02:12 -04:00
1 parent bf2f6af86a
commit 9af1e652e4
1 file changed
+1 -1
@@ -168,7 +168,7 @@ public class PlayerListener extends EventListener
public void onPlayerInteract(PlayerInteractEvent event) public void onPlayerInteract(PlayerInteractEvent event)
{ {
Player player = event.getPlayer(); Player player = event.getPlayer();
Block playerClick = player.getTargetBlock(Utilities.getNonSolid(), 5); //Block playerClick = player.getTargetBlock(Utilities.getNonSolid(), 5);
PlayerInventory inv = player.getInventory(); PlayerInventory inv = player.getInventory();
if (event.getAction() == Action.RIGHT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_BLOCK) if (event.getAction() == Action.RIGHT_CLICK_AIR || event.getAction() == Action.RIGHT_CLICK_BLOCK)
{ {