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

Main Menu Page History Fix #2993

Merged
merged 3 commits into from
Apr 30, 2021
Merged

Conversation

Mooy1
Copy link
Contributor

@Mooy1 Mooy1 commented Apr 26, 2021

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

  • I have fully tested the proposed changes and promise that they will not break everything into chaos.
  • I have also tested the proposed changes in combination with various popular addons and can confirm my changes do not break them.
  • I followed the existing code standards and didn't mess up the formatting.
  • I did my best to add documentation to any public classes or methods I added.
  • I have added Nonnull and Nullable annotations to my methods to indicate their behaviour for null values
  • I added sufficient Unit Tests to cover my code.

@Mooy1 Mooy1 requested a review from a team as a code owner April 26, 2021 23:17
Copy link
Member

@TheBusyBiscuit TheBusyBiscuit left a 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.

@TheBusyBiscuit TheBusyBiscuit self-assigned this Apr 26, 2021
@TheBusyBiscuit TheBusyBiscuit added the ✨ Fix This Pull Request fixes an issue. label Apr 26, 2021
…n/guide/SurvivalSlimefunGuide.java

Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>
@Mooy1 Mooy1 requested a review from TheBusyBiscuit April 26, 2021 23:55
Copy link
Member

@TheBusyBiscuit TheBusyBiscuit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@svr333 svr333 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TheBusyBiscuit TheBusyBiscuit merged commit e609e9e into Slimefun:master Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Fix This Pull Request fixes an issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slimefun guide history doesn't retain pagination for the main menu
3 participants