Skip to content

Show error message in game chat when json is invalid #108

@Gears-Cringemonger

Description

@Gears-Cringemonger

Describe the feature/addition!

Show an error message in the ingame chat upon reload if the new json file is invalid, and also mention where the invalid file was moved to, an example here:
[file].json found to be invalid, changes have been reverted and moved to [file].json.bak

Why would like to see this feature/addition?

It took me a good half hour of troubleshooting my unify.json before I looked in 1.20-support to see if anyone had dealt with .bak before. I'm sure there are some less patient than me who would have given up solving it earlier, so having it show when you did something wrong would be greatly appreciated.

Besides that one issue I'm in love with this mod, keep it up.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions