Lasers now have fancy sound effects!

This commit is contained in:
Aidan C. Brady committed 2015-02-27 01:57:54 -05:00
1 parent 48c872ec37
commit 84ab0ecb3f
17 files changed
+87 -34

No files matched your search

@@ -90,8 +90,6 @@ public class TileEntityChemicalInfuser extends TileEntityNoisyElectricBlock impl
if(!worldObj.isRemote)
{
ChemicalInfuserRecipe recipe = getRecipe();
if(updateDelay > 0)
{
updateDelay--;
@@ -118,6 +116,8 @@ public class TileEntityChemicalInfuser extends TileEntityNoisyElectricBlock impl
{
centerTank.draw(GasTransmission.addGas(inventory[2], centerTank.getGas()), true);
}
ChemicalInfuserRecipe recipe = getRecipe();
if(canOperate(recipe) && getEnergy() >= BASE_ENERGY_USAGE && MekanismUtils.canFunction(this))
{