Skip to content

Commit

Permalink
fixes parallel for alloy smelters (#2004)
Browse files Browse the repository at this point in the history
Co-authored-by: Spicierspace153 <[email protected]>
  • Loading branch information
Spicierspace153 and Spicierspace153 authored Sep 23, 2024
1 parent 1ac9b94 commit 2d15bb6
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ public static GTRecipe multiSmelterParallel(MetaMachine machine, @NotNull GTReci
// double durationForParallel = Math.max(1.0, FURNACE_DURATION * 2 * parallel.getSecond() / Math.max(1,
// maxParallel * 1.0));

recipe = parallel.getFirst() == recipe ? parallel.getFirst().copy() : parallel.getFirst();

int parallelValue = parallel.getSecond();
long eut = 4 * (parallelValue / 8) / coilMachine.getCoilType().getEnergyDiscount();
result.init(eut, Math.max(1, 256 * parallelValue / maxParallel), parallelValue, params.getOcAmount());
Expand Down

0 comments on commit 2d15bb6

Please sign in to comment.