Revert "Fix I goofed."

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