Fixed visualization blocks being hidden under snow.

This commit is contained in:
ryanhamshire 2014-10-18 15:16:23 -07:00
parent 3bda86b746
commit c0520880ff

View File

@ -242,8 +242,9 @@ public class Visualization
//helper method for above. allows visualization blocks to sit underneath partly transparent blocks like grass and fence
private static boolean isTransparent(Block block)
{
return ( block.getType() == Material.AIR ||
return ( block.getType() != Material.SNOW && (
block.getType() == Material.AIR ||
block.getType() == Material.FENCE ||
block.getType().isTransparent());
block.getType().isTransparent()));
}
}