Skip to content

Commit

Permalink
Fix plasma arc recipes (#3736)
Browse files Browse the repository at this point in the history
(cherry picked from commit f5f0981)
  • Loading branch information
StaffiX authored and Dream-Master committed Dec 31, 2024
1 parent 4996fa3 commit 840d6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gregtech/api/util/GTRecipeConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public class GTRecipeConstants {
Collection<GTRecipe> ret = new ArrayList<>();
for (Materials mat : new Materials[] { Materials.Argon, Materials.Nitrogen }) {
builder.duration(Math.max(1, mat == Materials.Nitrogen ? aDuration / 4 : aDuration / 24));
int tPlasmaAmount = (int) Math.min(1L, aDuration / (mat.getMass() * 16L));
int tPlasmaAmount = (int) Math.max(1L, aDuration / (mat.getMass() * 16L));
GTRecipeBuilder plasmaBuilder = builder.copy()
.fluidInputs(mat.getPlasma(tPlasmaAmount))
.fluidOutputs(mat.getGas(tPlasmaAmount));
Expand Down

0 comments on commit 840d6a2

Please sign in to comment.