tileMap.remove(position);
worldObj.loadedTileEntityList.remove(tileEntity);
int x = position.x, y = position.y, z = position.z;
int id = getBlockID(x, y, z);
int meta = getBlockMetadata(x, y, z);
Log.info("Resetting invalid TileEntity " + Log.toString(tileEntity) + " for block: " + new BlockInfo(id, meta) + " at within chunk coords " + x + ',' + y + ',' + z + " in chunk " + this);
setBlockIDWithMetadata(x, y, z, 0, 0);
setBlockIDWithMetadata(x, y, z, id, meta);
}
}
}