mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 03:59:45 +00:00
Vegetable is not fruit (#28)
This commit is contained in:
1 parent
c5c3aee2fb
commit
c507872364
1 file changed
-5
@@ -219,13 +219,8 @@ public class PluginHarvestCraft extends ForestryPlugin {
|
||||
ForestryAPI.activeMode.getIntegerSetting("squeezer.liquid.apple") / 2; // vegetables produce less juice
|
||||
juiceAmount = Math.max(juiceAmount, 1); // Produce at least 1 mb of juice.
|
||||
for (String vegetableName : vegetables) {
|
||||
ItemStack vegetable = GameRegistry.findItemStack(HC, vegetableName + "Item", 1);
|
||||
ItemStack vegetableSeed = GameRegistry.findItemStack(HC, vegetableName + "seedItem", 1);
|
||||
Block vegetableBlock = GameRegistry.findBlock(HC, "pam" + vegetableName + "Crop");
|
||||
if (vegetable != null) {
|
||||
RecipeManagers.squeezerManager.addRecipe(
|
||||
10, new ItemStack[] {vegetable}, Fluids.JUICE.getFluid(juiceAmount));
|
||||
}
|
||||
if (vegetableSeed != null) {
|
||||
RecipeManagers.squeezerManager.addRecipe(
|
||||
10, new ItemStack[] {vegetableSeed}, Fluids.SEEDOIL.getFluid(seedamount));
|
||||
|
||||
Reference in new issue
Block a user