From 773f9f06c1c7df29c6a6a9211d52872d6d054b45 Mon Sep 17 00:00:00 2001 From: drcrazy Date: Mon, 20 Sep 2021 12:03:17 +0300 Subject: [PATCH] Notify neighbors on machine removal. Closes #2484 --- .../src/main/java/reborncore/common/util/WrenchUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RebornCore/src/main/java/reborncore/common/util/WrenchUtils.java b/RebornCore/src/main/java/reborncore/common/util/WrenchUtils.java index 55574ad73..4a983c6b5 100644 --- a/RebornCore/src/main/java/reborncore/common/util/WrenchUtils.java +++ b/RebornCore/src/main/java/reborncore/common/util/WrenchUtils.java @@ -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);