Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
Fix snow melt. Snow is crushable too.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahkok committed Dec 24, 2013
1 parent 0b358ab commit 7a14edb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ private void snow(int x, int y, int z, int base) {
Block block = world.getBlockAt(x, y, z);

/* don't stack snow high on leaves and plants */
if (isCrushable(block.getRelative(BlockFace.DOWN)))
if (isCrushable(block.getRelative(BlockFace.DOWN)) && block.getRelative(BlockFace.DOWN).getType() != Material.SNOW)
return;

/* snow stack? */
Expand Down

0 comments on commit 7a14edb

Please sign in to comment.