Plunger Sounds
This commit is contained in:
parent
94c2d1fbfa
commit
3483fad95b
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ public class Behaviour_Plunger_Fluid
|
||||||
GT_MetaTileEntity_BasicTank machine = (GT_MetaTileEntity_BasicTank) mTileEntity;
|
GT_MetaTileEntity_BasicTank machine = (GT_MetaTileEntity_BasicTank) mTileEntity;
|
||||||
if(machine.mFluid!=null&&machine.mFluid.amount>0)
|
if(machine.mFluid!=null&&machine.mFluid.amount>0)
|
||||||
machine.mFluid.amount = machine.mFluid.amount - Math.min(machine.mFluid.amount, 1000);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue