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

Commit

Permalink
better way
Browse files Browse the repository at this point in the history
  • Loading branch information
HoleFish committed Jan 27, 2024
1 parent 921c639 commit 5dfa44b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1179,15 +1179,13 @@ private long getStellarPlasmaStored() {
public CheckRecipeResult processRecipe(EyeOfHarmonyRecipe recipeObject) {

// Get circuit damage, clamp it and then use it later for overclocking.
boolean foundCircuit = false;
currentCircuitMultiplier = 0;
for (ItemStack itemStack : mInputBusses.get(0).getRealInventory()) {
if (GT_Utility.isAnyIntegratedCircuit(itemStack)) {
currentCircuitMultiplier = MathHelper.clamp_int(itemStack.getItemDamage(), 0, 24);
foundCircuit = true;
break;
}
}
if (!foundCircuit) currentCircuitMultiplier = 0;

astralArrayAmount = 0;

Expand Down

0 comments on commit 5dfa44b

Please sign in to comment.