drewg13 / foundryvtt-scum-and-villainy

Scum and Villainy game system for FoundryVTT
Other
12 stars 15 forks source link

[Bug] Player lost Actor Sheet #35

Closed brunocalado closed 3 years ago

brunocalado commented 3 years ago

Hi.

We experienced a bug. The player created this char and after that we lost the ability to open the actor sheet.

Loading foundry vTT image

Trying to open actor sheet image

Actor Sheet fvtt-Actor-kris-kynski.txt

Version Win10 + chrome image

drewg13 commented 3 years ago

Here's your problem:

"flags": {
    "scum-and-villainy": {
      "ship": [
        null
      ]
    },

If you delete that flag and re-import it, it should work fine. I have no idea how that could happen, but I can build in some better error-checking so it won't crash, at least.

drewg13 commented 3 years ago

Alternatively, you can run the following command in the console in that world:

game.actors.getName("Kris Kynski").unsetFlag("scum-and-villainy", "ship");
brunocalado commented 3 years ago

oh boy, my translation macro did that then But, it only replace the ship name.