mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-24 22:04:34 +00:00
Move tree blocks to PluginArboriculture.blocks
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user