Make energy upgrades affect fuel usage
This commit is contained in:
parent
c512d72b06
commit
372705a448
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ public final class MekanismUtils
|
|||
*/
|
||||
public static int getSecondaryEnergyPerTick(IUpgradeManagement mgmt, int def)
|
||||
{
|
||||
return (int)(def * Math.pow(Mekanism.maxUpgradeMultiplier, mgmt.getSpeedMultiplier()/8.0));
|
||||
return (int)(def * Math.pow(Mekanism.maxUpgradeMultiplier, (mgmt.getSpeedMultiplier()-mgmt.getEnergyMultiplier())/8.0));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue