Skip to content

Commit

Permalink
fixes parallel for alloy smelters (GregTechCEu#2004)
Browse files Browse the repository at this point in the history
Co-authored-by: Spicierspace153 <21964509+Spicierspace153@users.noreply.github.com>
  • Loading branch information
2 people authored and enitiaty committed Sep 23, 2024
1 parent 09ea52d commit f16a2bd
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 f16a2bd

Please sign in to comment.