private Island nextIslandLocation(Island lastIsland) {
    // Gets the next position of an Island based on the last one.

    // Generates new Islands in a spiral.
    int x = lastIsland.x;
    int z = lastIsland.z;
    Island nextPos = new Island();
    nextPos.x = x;
    nextPos.z = z;
    if (x < z) {
      if (((-1) * x) < z) {
        nextPos.x = nextPos.x + plugin.getISLAND_SPACING();
        return nextPos;
      }
      nextPos.z = nextPos.z + plugin.getISLAND_SPACING();
      return nextPos;
    }
    if (x > z) {
      if (((-1) * x) >= z) {
        nextPos.x = nextPos.x - plugin.getISLAND_SPACING();
        return nextPos;
      }
      nextPos.z = nextPos.z - plugin.getISLAND_SPACING();
      return nextPos;
    }
    if (x <= 0) {
      nextPos.z = nextPos.z + plugin.getISLAND_SPACING();
      return nextPos;
    }
    nextPos.z = nextPos.z - plugin.getISLAND_SPACING();
    return nextPos;
  }