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

Add default settlement data to "add-settlement" handler in kingdom sheet #18134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MaximMukhanov
Copy link

Prevents kingdom sheet crash on adding settlement due to the lack of settlement data in "add-settlement" handler.

foundryvtt/foundryvtt-premium-content#898 - issue in foundry premium modules repo that explains the problem.

…eet to avoid sheet crashing due to missing consumption value
@MaximMukhanov MaximMukhanov changed the title Adds default settlement data to "add-settlement" handler in kingdom sheet Add default settlement data to "add-settlement" handler in kingdom sheet Jan 28, 2025
@CarlosFdez
Copy link
Collaborator

I'll dig into this soon and see if we can't solve this by using default values, but if I can't get something clean I'll simply merge this in. Thank you for looking into it.

@MaximMukhanov
Copy link
Author

No problem, thank you for working on system!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants