DimDoors icon indicating copy to clipboard operation
DimDoors copied to clipboard

[Bug]: Commit aa0a67f deletes door destinations from previous version of the mod

Open lexi-the-cute opened this issue 2 years ago • 0 comments

What happened?

Commit https://github.com/DimensionalDevelopment/DimDoors/commit/aa0a67f6e5d26f2a3a6cfaca3b0592760e2b919e deletes door destinations from previous version of the mod

This is on 1.20.1

Mod Version

5.3.0

What versions of Minecraft does this issue happen on?

No response

Log

this is a newly placed door after installing the version of the mod at commit aa0a67f6e5d26f2a3a6cfaca3b0592760e2b919e (https://github.com/DimensionalDevelopment/DimDoors/commit/aa0a67f6e5d26f2a3a6cfaca3b0592760e2b919e)

    {
      "z": -150,
      "x": -399,
      "id": "dimdoors:entrance_rift",
      "locked": 0b,
      "y": 79,
      "keepPacked": 0b,
      "data": {
        "color": {
          "blue": 0f,
          "green": 0f,
          "red": 0f,
          "alpha": 1f
        },
        "destination": {
          "type": "dimdoors:public_pocket",
          "wrappedDestination": {
            "type": "dimdoors:global",
            "target": {
              "pos": [I; 767, 5, -268],
              "world": "dimdoors:public_pockets"
            }
          }
        },
        "alwaysDelete": 0b,
        "forcedColor": 1b
      }
    },

these are the doors placed on the version of the mod 5.3.0-beta2 from https://www.curseforge.com/minecraft/mc-mods/dimensionaldoors/files/4872103

    {
      "z": -156,
      "x": -395,
      "id": "dimdoors:entrance_rift",
      "locked": 0b,
      "y": 79,
      "keepPacked": 0b,
      "data": {
        "color": {
          "blue": 0f,
          "green": 0f,
          "red": 0f,
          "alpha": 0f
        },
        "alwaysDelete": 0b,
        "forcedColor": 0b
      }
    },
    {
      "z": -156,
      "x": -399,
      "id": "dimdoors:entrance_rift",
      "locked": 0b,
      "y": 79,
      "keepPacked": 0b,
      "data": {
        "color": {
          "blue": 0f,
          "green": 0f,
          "red": 0f,
          "alpha": 0f
        },
        "alwaysDelete": 0b,
        "forcedColor": 0b
      }
    },

these are the doors that were placed before the upgrade to the commit from my backup before the upgrade

    {
      "z": -156,
      "x": -395,
      "id": "dimdoors:entrance_rift",
      "locked": 0b,
      "y": 79,
      "keepPacked": 0b,
      "data": {
        "color": {
          "blue": 0f,
          "green": 0f,
          "red": 0f,
          "alpha": 1f
        },
        "destination": {
          "type": "dimdoors:escape",
          "canEscapeLimbo": 1b
        },
        "alwaysDelete": 0b,
        "forcedColor": 1b
      }
    },
    {
      "z": -156,
      "x": -399,
      "id": "dimdoors:entrance_rift",
      "locked": 0b,
      "y": 79,
      "keepPacked": 0b,
      "data": {
        "color": {
          "blue": 0f,
          "green": 0f,
          "red": 0f,
          "alpha": 1f
        },
        "destination": {
          "type": "dimdoors:public_pocket",
          "wrappedDestination": {
            "type": "dimdoors:global",
            "target": {
              "pos": [I; 255, 5, 244],
              "world": "dimdoors:public_pockets"
            }
          }
        },
        "alwaysDelete": 0b,
        "forcedColor": 1b
      }
    },

lexi-the-cute avatar Dec 30 '23 13:12 lexi-the-cute