Destructor makes block break noise now

This commit is contained in:
Raoul Van den Berge
2016-04-22 20:17:25 +02:00
parent 5124593bac
commit 8ce57f7aa0

View File

@@ -46,6 +46,7 @@ public class TileDestructor extends TileMachine implements ICompareConfig, IMode
if (ModeConfigUtils.doesNotViolateMode(inventory, this, compare, new ItemStack(frontBlock, 1, frontBlock.getMetaFromState(frontBlockState)))) {
List<ItemStack> drops = frontBlock.getDrops(worldObj, front, frontBlockState, 0);
worldObj.playAuxSFXAtEntity(null, 2001, front, Block.getStateId(frontBlockState));
worldObj.setBlockToAir(front);
for (ItemStack drop : drops) {