-
Notifications
You must be signed in to change notification settings - Fork 555
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
Main Menu Page History Fix #2993
Conversation
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.
Nice little fix actually, thanks!
Just one remark I'd like to leave.
...main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java
Outdated
Show resolved
Hide resolved
…n/guide/SurvivalSlimefunGuide.java Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>
src/main/java/io/github/thebusybiscuit/slimefun4/core/guide/GuideHistory.java
Outdated
Show resolved
Hide resolved
...main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/SurvivalSlimefunGuide.java
Outdated
Show resolved
Hide resolved
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.
LGTM
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.
LGTM
Description
Keeps the main menu page history saved
Proposed changes
Added a main menu page field to GuideHistory, added getters and setters. When the guide is opened, it sets the main menu page to the page it was opened to.
Related Issues (if applicable)
Fixes #2593
Checklist
Nonnull
andNullable
annotations to my methods to indicate their behaviour for null values