Move tree blocks to PluginArboriculture.blocks

This commit is contained in:
mezz committed 2015-11-19 01:04:36 -08:00
1 parent ade9bb6940
commit 358522b2af
10 files changed
+184 -128

No files matched your search

@@ -19,8 +19,8 @@ import forestry.api.arboriculture.IAlleleTreeSpecies;
import forestry.api.farming.ICrop;
import forestry.api.farming.IFarmable;
import forestry.arboriculture.genetics.TreeGenome;
import forestry.core.config.ForestryBlock;
import forestry.core.utils.vect.Vect;
import forestry.plugins.PluginArboriculture;
public class FarmableGE implements IFarmable {
@@ -31,7 +31,8 @@ public class FarmableGE implements IFarmable {
return false;
}
return ForestryBlock.saplingGE.isBlockEqual(world, x, y, z);
Block block = world.getBlock(x, y, z);
return PluginArboriculture.blocks.saplingGE == block;
}
@Override