3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +01:00

Allow forest generator to make trees under snow tiles.

Dieser Commit ist enthalten in:
wizjany 2013-12-24 18:44:00 -05:00
Ursprung 611cb81cf8
Commit 85035a2a24

Datei anzeigen

@ -2720,6 +2720,8 @@ public class EditSession {
treeGenerator.generate(this, new Vector(x, y + 1, z)); treeGenerator.generate(this, new Vector(x, y + 1, z));
++affected; ++affected;
break; 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! } else if (t != BlockID.AIR) { // Trees won't grow on this!
break; break;
} }