mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Merge pull request #409 from Brokkonaut/fix-wrong-block-for-snow-check
LEAVES2 should have snow on it too
This commit is contained in:
commit
ca660f1260
@ -1657,7 +1657,7 @@ public int simulateSnow(Vector position, double radius) throws MaxChangedBlocksE
|
|||||||
// 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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user