Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Adding a settlement to the Kingdom sheet seems to breaks it #898

Open
brettwon opened this issue Dec 12, 2024 · 0 comments
Open

[Bug]: Adding a settlement to the Kingdom sheet seems to breaks it #898

brettwon opened this issue Dec 12, 2024 · 0 comments
Labels
bug Functionality which is not working as intended pf2e-kingmaker Issues for Pathfinder Kingmaker

Comments

@brettwon
Copy link

What happened?

When clicking the Add button under the Kingdom sheet, World, Kingdom Settlements, it freezes the rest of the sheet without adding anything. I can still close the sheet, but it cannot be reopened. Upon a refresh, it can be opened and can then edit new settlements, but it would be nice to not have to refresh Foundry to add a new settlement i guess.

What package are you reporting this for?

Pathfinder: Kingmaker

Version

2.1.1

Relevant log output

Error: Failed data preparation for Actor.xxxPF2ExPARTYxxx. Cannot read properties of undefined (reading 'consumption')
    at Hooks.onError (foundry.js:654:24)
    at PartyPF2e._safePrepareData (foundry.js:10801:15)
    at PartyPF2e._initialize (foundry.js:10630:19)
    at PartyPF2e._initialize (pf2e.mjs:1608:57066)
    at PartyPF2e.updateSource (foundry-esm.js:10520:35)
    at PartyPF2e.updateSource (pf2e.mjs:1608:249035)
    at #handleUpdateDocuments (foundry-esm.js:56579:13)
    at async PartyPF2e.updateDocuments (foundry-esm.js:11473:23)
    at async PartyPF2e.update (foundry-esm.js:11584:23)
    at async Kingdom.update (pf2e.mjs:1608:220875)


Error: An error occurred while rendering KingdomSheetPF2e 32. Cannot read properties of undefined (reading 'level')
    at Hooks.onError (foundry.js:654:24)
    at foundry.js:5795:13
@brettwon brettwon added the bug Functionality which is not working as intended label Dec 12, 2024
@github-actions github-actions bot added the pf2e-kingmaker Issues for Pathfinder Kingmaker label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality which is not working as intended pf2e-kingmaker Issues for Pathfinder Kingmaker
Projects
None yet
Development

No branches or pull requests

1 participant