@Override
  public void writeNBT(NBTTagCompound compound) {
    super.writeNBT(compound);

    if (theGridNode == null) {
      createAELink();
    }
  }