Fixes a problem where tile entities would become unremovable (well, one more of these at least),

because they would reset their block state upon removal and loss of power.
This commit is contained in:
Sebastian Hartte
2020-09-06 20:59:19 +02:00
parent d9bb81a00f
commit 8e54a8fed9
@@ -254,7 +254,7 @@ public class AEBaseTileEntity extends TileEntity implements IOrientable, ICommon
this.renderFragment |= 1;
} else {
// TODO: Optimize Network Load
if (this.world != null) {
if (this.world != null && !this.isRemoved()) {
this.requestModelDataUpdate();
boolean alreadyUpdated = false;