Fixed BC fuel energy gen. Closes #1524
This commit is contained in:
parent
874b08e919
commit
362a93af3d
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ public class BuildcraftCompat implements ICompatModule {
|
|||
public void postInit(FMLPostInitializationEvent event) {
|
||||
if (CompatConfigs.allowBCFuels) {
|
||||
for (IFuel fuel : FuelRegistry.INSTANCE.getFuels()) {
|
||||
GeneratorRecipeHelper.registerFluidRecipe(EFluidGenerator.THERMAL, fuel.getFluid().getFluid(), (int) (fuel.getPowerPerCycle() / RebornCoreConfig.euPerFU));
|
||||
// getPowerPerCycle returns micro mj values
|
||||
GeneratorRecipeHelper.registerFluidRecipe(EFluidGenerator.THERMAL, fuel.getFluid().getFluid(), (int) (fuel.getPowerPerCycle() / RebornCoreConfig.euPerFU * 1000));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue