Fixed small oversight on interaction checking

This commit is contained in:
H31IX committed 2012-06-14 15:45:22 -04:00
1 parent 2a571145e3
commit 6f9eac0e79
1 file changed
+3
@@ -189,10 +189,13 @@ public class PlayerListener extends EventListener
event.setCancelled(true); event.setCancelled(true);
log("tried to interact with an object that they couldn't see", player, CheckType.VISUAL); log("tried to interact with an object that they couldn't see", player, CheckType.VISUAL);
} }
else
{
backend.logInteraction(player); backend.logInteraction(player);
} }
} }
} }
}
@EventHandler(ignoreCancelled = true) @EventHandler(ignoreCancelled = true)
public void onPlayerDropItem(PlayerDropItemEvent event) public void onPlayerDropItem(PlayerDropItemEvent event)