-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
feat: Add ExtendedSeasonLeaderboardFeature #2431
Conversation
The code (incl the LabelHandler changes) look fine overall, but I guess you must address Jamie's complaints first. :) |
Oh... It looked like it's working, but I guess I didn't do the math.. |
try { | ||
JsonElement jsonElem = Managers.Json.GSON.toJsonTree(storage.get(), storageTypes.get(storage)); | ||
storageJson.add(jsonName, jsonElem); | ||
} catch (Throwable t) { | ||
WynntilsMod.error("Failed to save storage " + jsonName, t); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only used this for debugging, but I think it should be kept, to reduce the risk of "resetting" storage files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I have seen some people reporting their storage file getting reset so hopefully this will help prevent that
@JamieCallan117 Should be fixed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and works perfectly now! :)
Wynncraft Default (original)
Default with Wynntils
Short scores - optional config