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

LEAVES2 should have snow on it too
This commit is contained in:
Matthew Miller 2018-03-27 14:56:18 +10:00 committed by GitHub
commit ca660f1260
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1657,7 +1657,7 @@ public class EditSession implements Extent {
// Snow should not cover these blocks // Snow should not cover these blocks
if (BlockType.isTranslucent(id)) { if (BlockType.isTranslucent(id)) {
// Add snow on leaves // Add snow on leaves
if (id != BlockID.LEAVES && id != BlockID.LEAVES) { if (id != BlockID.LEAVES && id != BlockID.LEAVES2) {
break; break;
} }
} }