Allow forest generator to make trees under snow tiles.

This commit is contained in:
wizjany 2013-12-24 18:44:00 -05:00
parent 611cb81cf8
commit 85035a2a24

View File

@ -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;
}