Prevent Osmium Compressor and Combiner from using secondary energy upgrades.

Also make them deterministic again to prevent them getting stuck
This commit is contained in:
Ben Spiers committed 2015-02-19 16:36:16 +00:00
1 parent 0819c0ad5f
commit 17f9f88b34
4 files changed
+50 -13

No files matched your search

@@ -626,17 +626,6 @@ public final class MekanismUtils
return def * Math.pow(Mekanism.maxUpgradeMultiplier, (2*mgmt.getSpeedMultiplier()-mgmt.getEnergyMultiplier())/8.0);
}
/**
* Gets the secondary energy required per tick for a machine via upgrades.
* @param mgmt - tile containing upgrades
* @param def - the original, default secondary energy required
* @return max secondary energy per tick
*/
public static int getSecondaryEnergyPerTick(IUpgradeManagement mgmt, int def)
{
return (int)getSecondaryEnergyPerTickMean(mgmt, def);
}
/**
* Gets the secondary energy required per tick for a machine via upgrades.
* @param mgmt - tile containing upgrades