Notify neighbors on machine removal. Closes #2484
This commit is contained in:
parent
a5aa7acc83
commit
773f9f06c1
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public class WrenchUtils {
|
|||
net.minecraft.util.ItemScatterer.spawn(worldIn, pos.getX(), pos.getY(), pos.getZ(), drop);
|
||||
}
|
||||
worldIn.removeBlockEntity(pos);
|
||||
worldIn.setBlockState(pos, Blocks.AIR.getDefaultState(), 2);
|
||||
worldIn.setBlockState(pos, Blocks.AIR.getDefaultState());
|
||||
}
|
||||
worldIn.playSound(null, playerIn.getX(), playerIn.getY(), playerIn.getZ(), ModSounds.BLOCK_DISMANTLE,
|
||||
SoundCategory.BLOCKS, 0.6F, 1F);
|
||||
|
|
Loading…
Reference in a new issue