mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-28 15:36:18 +00:00
Fix #1997 Actually Additions Integration
This commit is contained in:
1 parent
d43cc63367
commit
e9019fd8c3
5 files changed
+7
-12
No files matched your search
@@ -75,10 +75,8 @@ public class PluginActuallyAdditions extends CompatPlugin {
|
||||
if (seedItem != null) {
|
||||
Block plantBlock = getBlock(blockName);
|
||||
if (plantBlock != null) {
|
||||
FarmableAgingCrop crop = new FarmableAgingCrop(new ItemStack(seedItem), plantBlock, BlockCrops.AGE, 7);
|
||||
ForestryAPI.farmRegistry.registerFarmables("farmWheat", crop);
|
||||
FarmableAgingCrop cropOrchard = new FarmableAgingCrop(new ItemStack(seedItem), plantBlock, BlockCrops.AGE, 7, 0);
|
||||
ForestryAPI.farmRegistry.registerFarmables("farmOrchard", cropOrchard);
|
||||
FarmableAgingCrop crop = new FarmableAgingCrop(new ItemStack(seedItem), plantBlock, BlockCrops.AGE, 7, 0);
|
||||
ForestryAPI.farmRegistry.registerFarmables("farmCrops", crop);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user