Beautiful application of formatting, Thank's @mbax!

This commit is contained in:
Super Spy committed 2012-06-12 19:35:14 -05:00
1 parent b1e4f0505f
commit c59d93b0a7
2 files changed
+24 -24

No files matched your search

@@ -176,15 +176,15 @@ public class PlayerListener extends EventListener
Distance distance = new Distance(player.getLocation(), event.getClickedBlock().getLocation());
backend.checkLongReachBlock(player, distance.getXDifference(), distance.getYDifference(), distance.getZDifference());
}
/* Interactions Check */
Block block = event.getClickedBlock();
if(block != null)
Block block = event.getClickedBlock();
if (block != null)
{
if(checkManager.willCheck(player, CheckType.VISUAL))
if (checkManager.willCheck(player, CheckType.VISUAL))
{
if(backend.checkInteraction(player, block, playerClick))
if (backend.checkInteraction(player, block, playerClick))
{
event.setCancelled(true);
log("tried to interact with an object that they couldn't see", player, CheckType.VISUAL); //boring description though.