Play plunger sound when clearing fluids from GT machines
This commit is contained in:
parent
c250d93fe5
commit
823a1fccd2
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ public class Behaviour_Plunger_Fluid
|
|||
GT_MetaTileEntity_BasicTank machine = (GT_MetaTileEntity_BasicTank) mTileEntity;
|
||||
if(machine.mFluid!=null&&machine.mFluid.amount>0)
|
||||
machine.mFluid.amount = machine.mFluid.amount - Math.min(machine.mFluid.amount, 1000);
|
||||
GT_Utility.sendSoundToPlayers(aWorld, (String) GregTech_API.sSoundList.get(Integer.valueOf(101)), 1.0F, -1.0F, aX, aY, aZ);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue