Multiblocks sometimes can't be broken because during removal, (#4469)
they update their own block-state to display the disconnected state, effectively reversing their own removal. This occurs because the cached block state in the tile entity base class is outdated and doesn't reflect the removal.
This commit is contained in:
@@ -289,6 +289,11 @@ public class QuantumBridgeTileEntity extends AENetworkInvTileEntity implements I
|
||||
}
|
||||
|
||||
public void breakCluster() {
|
||||
// Since breaking the cluster will most likely also update the TE's state,
|
||||
// it's essential that we're not working with outdated block-state information,
|
||||
// since this particular TE's block might already have been removed (state=air)
|
||||
updateContainingBlockInfo();
|
||||
|
||||
if (this.cluster != null) {
|
||||
this.cluster.destroy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user