Changed Fluid Blocks to have default values

This commit is contained in:
Ellpeck 2015-07-19 01:48:05 +02:00
parent fe97cedc61
commit 22e301a7d2

View file

@ -236,7 +236,7 @@ public class InitBlocks{
//Canola Fluid //Canola Fluid
String canolaOil = "canolaoil"; String canolaOil = "canolaoil";
if(!FluidRegistry.isFluidRegistered(canolaOil) || ConfigBoolValues.PREVENT_CANOLA_OVERRIDE.isEnabled()){ if(!FluidRegistry.isFluidRegistered(canolaOil) || ConfigBoolValues.PREVENT_CANOLA_OVERRIDE.isEnabled()){
fluidCanolaOil = new FluidAA(canolaOil).setDensity(1200).setViscosity(1500).setTemperature(300).setRarity(EnumRarity.uncommon); fluidCanolaOil = new FluidAA(canolaOil).setRarity(EnumRarity.uncommon);
FluidRegistry.registerFluid(fluidCanolaOil); FluidRegistry.registerFluid(fluidCanolaOil);
} }
else{ else{
@ -257,7 +257,7 @@ public class InitBlocks{
//Oil Fluid //Oil Fluid
String oil = "oil"; String oil = "oil";
if(!FluidRegistry.isFluidRegistered(oil) || ConfigBoolValues.PREVENT_OIL_OVERRIDE.isEnabled()){ if(!FluidRegistry.isFluidRegistered(oil) || ConfigBoolValues.PREVENT_OIL_OVERRIDE.isEnabled()){
fluidOil = new FluidAA(oil).setDensity(1200).setViscosity(1500).setTemperature(300).setRarity(EnumRarity.uncommon); fluidOil = new FluidAA(oil).setRarity(EnumRarity.uncommon);
FluidRegistry.registerFluid(fluidOil); FluidRegistry.registerFluid(fluidOil);
} }
else{ else{