Updating the blockstate of invalid TEs will cause Forge to restore the block including the TE leading to invalid TEs sticking around after being moved.
This commit is contained in:
@@ -74,7 +74,7 @@ public class TileCraftingStorageTile extends TileCraftingTile
|
|||||||
@Override
|
@Override
|
||||||
public int getStorageBytes()
|
public int getStorageBytes()
|
||||||
{
|
{
|
||||||
if( this.world == null || this.notLoaded() )
|
if( this.world == null || this.notLoaded() || this.isInvalid() )
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ public class TileCraftingTile extends AENetworkTile implements IAEMultiBlock, IP
|
|||||||
|
|
||||||
public void updateMeta( final boolean updateFormed )
|
public void updateMeta( final boolean updateFormed )
|
||||||
{
|
{
|
||||||
if( this.world == null || this.notLoaded() )
|
if( this.world == null || this.notLoaded() || this.isInvalid() )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ public class TileEnergyCell extends AENetworkTile implements IAEPowerStorage
|
|||||||
|
|
||||||
private void changePowerLevel()
|
private void changePowerLevel()
|
||||||
{
|
{
|
||||||
if( this.notLoaded() )
|
if( this.notLoaded() || this.isInvalid() )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user