mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Allow forest generator to make trees under snow tiles.
This commit is contained in:
parent
611cb81cf8
commit
85035a2a24
@ -2720,6 +2720,8 @@ public class EditSession {
|
||||
treeGenerator.generate(this, new Vector(x, y + 1, z));
|
||||
++affected;
|
||||
break;
|
||||
} else if (t == BlockID.SNOW) {
|
||||
setBlock(new Vector(x, y, z), new BaseBlock(BlockID.AIR));
|
||||
} else if (t != BlockID.AIR) { // Trees won't grow on this!
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user