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

Commit

Permalink
Prevent machine explosion for Universal fluid engine-spotless
Browse files Browse the repository at this point in the history
Updated with spotless
  • Loading branch information
Reflex18 committed Mar 18, 2024
1 parent b707cb0 commit 3d6ff1b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,13 @@ void addAutoEnergy() {
GT_MetaTileEntity_Hatch_Dynamo tHatch = mDynamoHatches.get(0);
if (tHatch.maxEUOutput() * tHatch.maxAmperesOut() >= exEU) {
tHatch.setEUVar(Math.min(tHatch.maxEUStore(), tHatch.getBaseMetaTileEntity().getStoredEU() + exEU));
}
}
}
if (!eDynamoMulti.isEmpty()) {
GT_MetaTileEntity_Hatch_DynamoMulti tHatch = eDynamoMulti.get(0);
if (tHatch.maxEUOutput() * tHatch.maxAmperesOut() >= exEU) {
tHatch.setEUVar(Math.min(tHatch.maxEUStore(), tHatch.getBaseMetaTileEntity().getStoredEU() + exEU));
}
}
}
}

Expand Down

0 comments on commit 3d6ff1b

Please sign in to comment.