mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-22 21:19:56 +00:00
Rewrite ExtraTreeSpecies class
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user