Skip to content

Commit

Permalink
arc furnace fix (#1920)
Browse files Browse the repository at this point in the history
  • Loading branch information
chochem authored Apr 24, 2023
1 parent 3d883d0 commit f9f9d66
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/gregtech/api/util/GT_RecipeRegistrator.java
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,10 @@ public static void registerReverseArcSmelting(ItemStack aStack, ItemData aData)

recipeBuilder.itemInputs(aStack)
.itemOutputs(GT_OreDictUnificator.getIngotOrDust(aData.mMaterial))
.fluidInputs(Materials.Oxygen.getGas(90))
.fluidInputs(Materials.Oxygen.getGas((int) Math.max(16, tAmount / M)))
.noFluidOutputs()
.duration(4 * SECONDS + 10 * TICKS)
.eut(Math.max(16, tAmount / M));
.duration(((int) Math.max(16, tAmount / M)) * TICKS)
.eut(90);
if (tHide) {
recipeBuilder.hidden();
}
Expand All @@ -332,10 +332,10 @@ public static void registerReverseArcSmelting(ItemStack aStack, ItemData aData)
GT_OreDictUnificator.getIngotOrDust(aData.getByProduct(6)),
GT_OreDictUnificator.getIngotOrDust(aData.getByProduct(7)),
GT_OreDictUnificator.getIngotOrDust(aData.getByProduct(8)))
.fluidInputs(Materials.Oxygen.getGas(90))
.fluidInputs(Materials.Oxygen.getGas((int) Math.max(16, tAmount / M)))
.noFluidOutputs()
.duration(8 * SECONDS + 10 * TICKS)
.eut((int) Math.max(16, tAmount / M));
.duration(((int) Math.max(16, tAmount / M)) * TICKS)
.eut(90);
if (tHide) {
recipeBuilder.hidden();
}
Expand Down

0 comments on commit f9f9d66

Please sign in to comment.