Skip to content

Commit

Permalink
Fix Issues with Fusion Reactor Overclocking (#2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude authored and serenibyss committed Jan 21, 2024
1 parent 688e537 commit 80aa0b0
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 80aa0b0

Please # to comment.