Skip to content

Commit

Permalink
Fix Issues with Fusion Reactor Overclocking (GregTechCEu#2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude authored Jan 19, 2024
1 parent add8fc1 commit e2eebbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ protected void modifyOverclockPre(int @NotNull [] values, @NotNull IRecipeProper
// MK3 reactor can overclock a MK2 recipe once, or a MK1 recipe twice.
long euToStart = storage.getRecipePropertyValue(FusionEUToStartProperty.getInstance(), 0L);
int fusionTier = FusionEUToStartProperty.getFusionTier(euToStart);
if (fusionTier != 0) fusionTier -= MetaTileEntityFusionReactor.this.tier;
if (fusionTier != 0) fusionTier = MetaTileEntityFusionReactor.this.tier - fusionTier;
values[2] = Math.min(fusionTier, values[2]);
}

Expand Down

0 comments on commit e2eebbc

Please sign in to comment.