mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Port config rewrite (#5378)
Port Config system, Remove some unused code, Refactored various Tier enums out into their own package
This commit is contained in:
1 parent
a776879eed
commit
9d98ef575d
209 files changed
+3275
-2763
No files matched your search
@@ -5,7 +5,7 @@ import buildcraft.api.fuels.IFuel;
|
||||
import buildcraft.api.mj.MjAPI;
|
||||
import java.util.HashMap;
|
||||
import mekanism.api.gas.Gas;
|
||||
import mekanism.common.config.MekanismConfig.general;
|
||||
import mekanism.common.config.MekanismConfig;
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
import net.minecraftforge.fluids.Fluid;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
@@ -59,7 +59,8 @@ public class FuelHandler {
|
||||
|
||||
// getPowerPerCycle returns value in 1 BuildCraft micro MJ
|
||||
// 1 BuildCraft MJ equals 20 RF
|
||||
energyPerTick = bcFuel.getPowerPerCycle() / (double) MjAPI.MJ * 20 * general.FROM_RF;
|
||||
energyPerTick =
|
||||
bcFuel.getPowerPerCycle() / (double) MjAPI.MJ * 20 * MekanismConfig.current().general.FROM_RF.val();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user