Fix tiles that have a "powered" block state from not being able to be broken when
they are connected to a powered grid.
This commit is contained in:
@@ -80,6 +80,10 @@ public abstract class AENetworkInvTileEntity extends AEBaseInvTileEntity impleme
|
|||||||
@Override
|
@Override
|
||||||
public void remove() {
|
public void remove() {
|
||||||
super.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();
|
this.getProxy().remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user