Fix wrong tree generators

Refactoring and code improvement of tree generators
This commit is contained in:
kordum committed 2017-07-04 11:47:52 +03:00
1 parent 3eaf99a4d1
commit bc10e65feb
78 files changed
+1886 -2742

No files matched your search

@@ -24,8 +24,9 @@ public class DefaultTreeGenerator implements ITreeGenerator {
@Override
public void setLogBlock(ITreeGenome genome, World world, int x, int y, int z, ForgeDirection direction) {
if (extraTreeSpecies.wood != null)
if (extraTreeSpecies.wood != null) {
extraTreeSpecies.wood.placeBlock(world, x, y, z);
}
}
@Override