mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fix conversion rate BC-RF-Mekanism
This commit is contained in:
1 parent
16d2ef3960
commit
f9c6dc011b
2 files changed
+6
-3
No files matched your search
@@ -102,13 +102,13 @@ public class MekanismGenerators implements IModule
|
||||
{
|
||||
for(IFuel s : BuildcraftFuelRegistry.fuel.getFuels())
|
||||
{
|
||||
if(!(s.getFluid() == null || GasRegistry.containsGas(s.getFluid().getFluid().getName())))
|
||||
if(s.getFluid() != null && !GasRegistry.containsGas(s.getFluid().getFluid().getName()))
|
||||
{
|
||||
GasRegistry.register(new Gas(s.getFluid().getFluid()));
|
||||
}
|
||||
}
|
||||
|
||||
BuildcraftFuelRegistry.fuel.addFuel(MekanismFluids.Ethene.getFluid(), 240 * MjAPI.MJ, 40 * Fluid.BUCKET_VOLUME);
|
||||
BuildcraftFuelRegistry.fuel.addFuel(MekanismFluids.Ethene.getFluid(), (int)(240 * general.TO_RF / 20 * MjAPI.MJ), 40 * Fluid.BUCKET_VOLUME);
|
||||
}
|
||||
|
||||
//Update the config-dependent recipes after the recipes have actually been added in the first place
|
||||
|
||||
Reference in new issue
Block a user