File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/gregtech/api/metatileentity/multiblock Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ protected boolean isDynamoTierTooLow() {
7272 IEnergyContainer energyContainer = recipeMapWorkable .getEnergyContainer ();
7373 if (energyContainer != null && energyContainer .getEnergyCapacity () > 0 ) {
7474 long maxVoltage = Math .max (energyContainer .getInputVoltage (), energyContainer .getOutputVoltage ());
75- return maxVoltage < - recipeMapWorkable .getRecipeEUt ();
75+ return maxVoltage < recipeMapWorkable .getRecipeEUt ();
7676 }
7777 }
7878 return false ;
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ public Builder addEnergyUsageExactLine(long energyUsage) {
155155 */
156156 public Builder addEnergyProductionLine (long maxVoltage , long recipeEUt ) {
157157 if (!isStructureFormed ) return this ;
158- if (maxVoltage != 0 && maxVoltage >= - recipeEUt ) {
158+ if (maxVoltage != 0 && maxVoltage >= recipeEUt ) {
159159 String energyFormatted = TextFormattingUtil .formatNumbers (maxVoltage );
160160 // wrap in text component to keep it from being formatted
161161 ITextComponent voltageName = new TextComponentString (
You can’t perform that action at this time.
0 commit comments