Rewrite ExtraTreeSpecies class

This commit is contained in:
marcin212 committed 2016-10-31 21:03:38 +01:00
1 parent 775b4109a9
commit 8e14eb81a1
36 files changed
+1860 -1324

No files matched your search

@@ -1,9 +1,9 @@
package binnie.extratrees.gen;
import binnie.extratrees.genetics.ExtraTreeSpecies;
import binnie.extratrees.worldgen.BlockType;
import binnie.extratrees.worldgen.BlockTypeLeaf;
import binnie.extratrees.worldgen.BlockTypeLog;
import forestry.api.arboriculture.ITree;
import forestry.api.world.ITreeGenData;
public class WorldGenDefault extends WorldGenTree {
@@ -34,7 +34,7 @@ public class WorldGenDefault extends WorldGenTree {
@Override
public BlockType getWood() {
return new BlockTypeLog(((ExtraTreeSpecies) this.treeGen.getGenome().getPrimary()).getLog());
return new BlockTypeLog(this.treeGen);
}
}