Fixed visualization blocks being hidden under snow.
This commit is contained in:
parent
3bda86b746
commit
c0520880ff
|
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user