Skip to content

Commit

Permalink
Fix accidentally changing where rounding was happening when getting t…
Browse files Browse the repository at this point in the history
…he "cleaned" damage percent number #7199
  • Loading branch information
pupnewfster committed May 26, 2021
1 parent 3e1aa00 commit 431292d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public long getMaxBurnRate() {

@ComputerMethod
public long getDamagePercent() {
return Math.round(reactorDamage / FissionReactorMultiblockData.MAX_DAMAGE) * 100;
return Math.round((reactorDamage / FissionReactorMultiblockData.MAX_DAMAGE) * 100);
}

@Override
Expand Down

0 comments on commit 431292d

Please sign in to comment.