Permalink
Browse files

Merge pull request #409 from Brokkonaut/fix-wrong-block-for-snow-check

LEAVES2 should have snow on it too
  • Loading branch information...
me4502 committed Mar 27, 2018
2 parents 17f9b2c + 701d80c commit ca660f12609cad8a927767ce194c60f0128871c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 worldedit-core/src/main/java/com/sk89q/worldedit/EditSession.java
@@ -1657,7 +1657,7 @@ public int simulateSnow(Vector position, double radius) throws MaxChangedBlocksE
// Snow should not cover these blocks
if (BlockType.isTranslucent(id)) {
// Add snow on leaves
if (id != BlockID.LEAVES && id != BlockID.LEAVES) {
if (id != BlockID.LEAVES && id != BlockID.LEAVES2) {
break;
}
}

0 comments on commit ca660f1

Please sign in to comment.