From 425515504ddac039384070f2833a94ac66a4788c Mon Sep 17 00:00:00 2001 From: CovertJaguar Date: Fri, 12 Jul 2013 17:10:52 -0700 Subject: [PATCH] Make Oil burn again --- common/buildcraft/BuildCraftEnergy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/buildcraft/BuildCraftEnergy.java b/common/buildcraft/BuildCraftEnergy.java index 83fcc4ad..dc212f53 100644 --- a/common/buildcraft/BuildCraftEnergy.java +++ b/common/buildcraft/BuildCraftEnergy.java @@ -149,7 +149,7 @@ public class BuildCraftEnergy { if (fluidOil.getBlockID() == -1) { if (blockOilId > 0) { - blockOil = new BlockBuildcraftFluid(blockOilId, fluidOil, Material.water); + blockOil = new BlockBuildcraftFluid(blockOilId, fluidOil, Material.water).setFlammable(canOilBurn).setFlammability(0); blockOil.setUnlocalizedName("blockOil"); CoreProxy.proxy.addName(blockOil, "Oil"); CoreProxy.proxy.registerBlock(blockOil); @@ -168,7 +168,7 @@ public class BuildCraftEnergy { if (fluidFuel.getBlockID() == -1) { if (blockFuelId > 0) { - blockFuel = new BlockBuildcraftFluid(blockFuelId, fluidFuel, Material.water); + blockFuel = new BlockBuildcraftFluid(blockFuelId, fluidFuel, Material.water).setFlammable(true).setFlammability(5); blockFuel.setUnlocalizedName("blockFuel"); CoreProxy.proxy.addName(blockFuel, "Fuel"); CoreProxy.proxy.registerBlock(blockFuel);