Skip to content

Conversation

@vinylspiders
Copy link
Contributor

@vinylspiders vinylspiders commented Oct 23, 2025

About The Pull Request

If an event is not found in the list, it will be null, so the stack trace when there is an invalid one in there will always return "Invalid event attempting to be configured." AKA nothing useful to indicate which event in the config is actually causing the failure.

Also stops stack trace from declaring 'invalid' config when they are simply not loaded due to the current map.

It should be printing out [variable] instead.

Also removes a bunch of non existent events from the events.json and fixes a few inconsistencies with the default weights.

Why It's Good For The Game

Stack traces with useful information are good.

Changelog

Nothing player-facing

@vinylspiders vinylspiders changed the title Improves debugging for events Improves debugging for events config Oct 23, 2025
@github-actions github-actions bot added the Fix Rewrites a bug so it appears in different circumstances label Oct 23, 2025
@github-actions github-actions bot added the Config Update Time to bother the headadmins for three months to get your config applied label Oct 23, 2025
@github-actions github-actions bot requested a review from scriptis October 23, 2025 21:36
@vinylspiders vinylspiders changed the title Improves debugging for events config Improves debugging for events config + fixes inconsistencies in events.json Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Config Update Time to bother the headadmins for three months to get your config applied Fix Rewrites a bug so it appears in different circumstances

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant