From 5efc085693a8b66fb154e8ef80de6d26337a66c0 Mon Sep 17 00:00:00 2001 From: Sebastian Hartte Date: Mon, 24 Aug 2020 23:54:37 +0200 Subject: [PATCH] Fix tiles that have a "powered" block state from not being able to be broken when they are connected to a powered grid. --- src/main/java/appeng/tile/grid/AENetworkInvTileEntity.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/appeng/tile/grid/AENetworkInvTileEntity.java b/src/main/java/appeng/tile/grid/AENetworkInvTileEntity.java index 69fb9193f..c23d6f62a 100644 --- a/src/main/java/appeng/tile/grid/AENetworkInvTileEntity.java +++ b/src/main/java/appeng/tile/grid/AENetworkInvTileEntity.java @@ -80,6 +80,10 @@ public abstract class AENetworkInvTileEntity extends AEBaseInvTileEntity impleme @Override public void remove() { super.remove(); + // if the cached block state is not current, the following method may call + // markForUpdate + // and cause the block state to be changed back to non-air + updateContainingBlockInfo(); this.getProxy().remove(); }