Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
prevent fusion tierskips
Browse files Browse the repository at this point in the history
  • Loading branch information
GDCloudstrike committed Feb 22, 2024
1 parent dc3490f commit 6272558
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,8 @@ protected GT_OverclockCalculator createOverclockCalculator(@NotNull GT_Recipe re
@NotNull
@Override
protected CheckRecipeResult validateRecipe(@NotNull GT_Recipe recipe) {
if (!mRunningOnLoad && recipe.mSpecialValue > maxEUStore()) {
if (!mRunningOnLoad && recipe.mSpecialValue > maxEUStore()
|| GT_Values.VP[LargeFusionComputer.this.tier()] < recipe.mEUt) {
return CheckRecipeResultRegistry.insufficientStartupPower(recipe.mSpecialValue);
}
maxParallel = getMaxPara() * extraPara(recipe.mSpecialValue);
Expand Down

0 comments on commit 6272558

Please sign in to comment.