A bit of cleanup and made sure liquids won't block interaction

This commit is contained in:
H31IX committed 2012-06-19 13:19:15 -04:00
1 parent a3cdd6a839
commit 0f8d66905d
3 files changed
+17 -9

No files matched your search

@@ -403,7 +403,7 @@ public class Backend
public boolean checkVisuals(Player player, Block targetBlock, Block playerClick)
{
if (!Utilities.isInteractable(targetBlock.getType()))
if (!Utilities.isInteractable(targetBlock.getType()) || playerClick.isLiquid())
{
return false;
}