Skip to content

Commit

Permalink
fix multi overclocking
Browse files Browse the repository at this point in the history
  • Loading branch information
serenibyss committed Sep 12, 2021
1 parent c385137 commit 2b88fa6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ protected int[] calculateOverclock(int EUt, long voltage, int duration) {
((MultiblockWithDisplayBase) metaTileEntity).getNumMaintenanceProblems() : 0;

int[] overclock = super.calculateOverclock(EUt, voltage, duration);
overclock[1] = (int) (duration * (1 + 0.1 * numMaintenanceProblems));
overclock[1] = (int) (overclock[1] * (1 + 0.1 * numMaintenanceProblems));

return overclock;
}
Expand Down

0 comments on commit 2b88fa6

Please sign in to comment.