Merge pull request #1859 from tambry/oilfuelopacity
Fixed oil and fuel opacity
This commit is contained in:
commit
f005f28bb6
1 changed files with 2 additions and 2 deletions
|
@ -197,7 +197,7 @@ public class BuildCraftEnergy extends BuildCraftMod {
|
||||||
|
|
||||||
if (fluidOil.getBlock() == null) {
|
if (fluidOil.getBlock() == null) {
|
||||||
blockOil = new BlockBuildcraftFluid(fluidOil, Material.water).setFlammable(canOilBurn).setFlammability(0);
|
blockOil = new BlockBuildcraftFluid(fluidOil, Material.water).setFlammable(canOilBurn).setFlammability(0);
|
||||||
blockOil.setBlockName("blockOil");
|
blockOil.setBlockName("blockOil").setLightOpacity(8);
|
||||||
CoreProxy.proxy.registerBlock(blockOil);
|
CoreProxy.proxy.registerBlock(blockOil);
|
||||||
fluidOil.setBlock(blockOil);
|
fluidOil.setBlock(blockOil);
|
||||||
} else {
|
} else {
|
||||||
|
@ -212,7 +212,7 @@ public class BuildCraftEnergy extends BuildCraftMod {
|
||||||
|
|
||||||
if (fluidFuel.getBlock() == null) {
|
if (fluidFuel.getBlock() == null) {
|
||||||
blockFuel = new BlockBuildcraftFluid(fluidFuel, Material.water).setFlammable(true).setFlammability(5).setParticleColor(0.7F, 0.7F, 0.0F);
|
blockFuel = new BlockBuildcraftFluid(fluidFuel, Material.water).setFlammable(true).setFlammability(5).setParticleColor(0.7F, 0.7F, 0.0F);
|
||||||
blockFuel.setBlockName("blockFuel");
|
blockFuel.setBlockName("blockFuel").setLightOpacity(3);
|
||||||
CoreProxy.proxy.registerBlock(blockFuel);
|
CoreProxy.proxy.registerBlock(blockFuel);
|
||||||
fluidFuel.setBlock(blockFuel);
|
fluidFuel.setBlock(blockFuel);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue