Fix I goofed.

This commit is contained in:
Ben Spiers committed 2014-08-28 03:13:11 +01:00
1 parent dd3ae67750
commit 39509fc133
1 file changed
+2 -2
@@ -626,9 +626,9 @@ public final class MekanismUtils
* @param def - the original, default secondary energy required
* @return max secondary energy per tick
*/
public static int getSecondaryEnergyPerTick(IUpgradeTile mgmt, int def)
public static int getSecondaryEnergyPerTick(IUpgradeManagement mgmt, int def)
{
return def * (int)Math.pow(general.maxUpgradeMultiplier, mgmt.getComponent().getUpgrades(Upgrade.SPEED)/(float)Upgrade.SPEED.getMax());
return def * (int)Math.pow(Mekanism.maxUpgradeMultiplier, mgmt.getSpeedMultiplier()/8.0);
}
/**