mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-27 15:22:57 +00:00
formatting
This commit is contained in:
1 parent
0b2589b007
commit
74e381f184
1 file changed
+2
-2
@@ -341,9 +341,9 @@ public class PluginHarvestCraft extends CompatPlugin {
|
||||
|
||||
for (String nutName : nuts) {
|
||||
ItemStack nut = getItemStack(nutName + "item");
|
||||
Block nutBlock = getBlock("pam" + nutName);
|
||||
Block nutBlock = getBlock("pam" + nutName);
|
||||
if (ForestryAPI.enabledModules.contains(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.FARMING)) && nutBlock != null) {
|
||||
farmRegistry.registerFarmables("farmOrchard", new FarmableAgingCrop(ItemStack.EMPTY, nutBlock, fruitAGE, 2, 0));
|
||||
farmRegistry.registerFarmables("farmOrchard", new FarmableAgingCrop(ItemStack.EMPTY, nutBlock, fruitAGE, 2, 0));
|
||||
}
|
||||
if (nut != null) {
|
||||
RecipeManagers.squeezerManager.addRecipe(20, nut, Fluids.SEED_OIL.getFluid(15 * seedamount));
|
||||
|
||||
Reference in new issue
Block a user