Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
fix forestry recipe compat crash
Browse files Browse the repository at this point in the history
closes #34
  • Loading branch information
serenibyss committed Apr 10, 2023
1 parent 8e8625a commit 717eefb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import gregtech.api.GTValues;
import gregtech.api.recipes.RecipeBuilder;
import gregtech.api.recipes.RecipeMaps;
import gregtech.api.recipes.ingredients.IntCircuitIngredient;
import gregtech.api.unification.OreDictUnifier;
import gregtech.api.unification.material.Material;
import gregtech.api.unification.material.Materials;
Expand Down Expand Up @@ -336,7 +335,7 @@ private static void addAutoclaveProcess(GTCombType comb, Material material, Volt

RecipeBuilder<?> builder = RecipeMaps.AUTOCLAVE_RECIPES.recipeBuilder()
.inputs(GTUtility.copyAmount(9, ForestryUtils.getCombStack(comb)))
.notConsumable(new IntCircuitIngredient(circuitNumber))
.circuitMeta(circuitNumber)
.fluidInputs(Materials.UUMatter.getFluid((int) Math.max(1, ((material.getMass() + volt.getUUAmount()) / 10))))
.output(OrePrefix.crushedPurified, material, 4)
.duration((int) (material.getMass() * 128))
Expand Down

0 comments on commit 717eefb

Please sign in to comment.