Skip to content

Commit

Permalink
Fix plasma arc recipes (#3736)
Browse files Browse the repository at this point in the history
  • Loading branch information
StaffiX authored Dec 30, 2024
1 parent 1c94568 commit f5f0981
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 @@ -253,7 +253,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 f5f0981

Please sign in to comment.