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

Xp Storage: Update sneaking check and fix visual bug #641

Merged
merged 1 commit into from
Aug 6, 2021

Conversation

Dennis-0
Copy link
Contributor

  • Fixed bug where it displayed "Stored Experience: Points" if no xp was stored yet, with join advancement that sets your score to 0 if needed
  • Moved sneaking check to predicate instead of scoreboard
  • Depositing all levels can be done instantly (without having to deposit 1 level first, so it would work when sneaking onto an ender chest without un-sneaking first)
  • Updated all comments in right formatting

- Fixed bug where it displayed "Stored Experience:  Points" if no xp was stored yet, with `join` advancement that sets your score to 0 if needed
- Moved sneaking check to predicate instead of scoreboard
- Depositing all levels can be done instantly (without having to deposit 1 level first, so it would work when sneaking onto an ender chest without un-sneaking first)
- Updated all comments in right formatting
Copy link
Member

@misode misode left a comment

Choose a reason for hiding this comment

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

This has a feature change in that you no longer need to deposit one level in order to deposit all, a clock cycle later, but this is a change that makes sense to me.

Maybe have a look if you can fix #387 but not a big deal otherwise.

Copy link
Member

@SpecialBuilder32 SpecialBuilder32 left a comment

Choose a reason for hiding this comment

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

Tested and approved

@SpecialBuilder32 SpecialBuilder32 added quality-update Improves efficiency or structure without affecting functionality of a module tested Has passed in-game testing labels Aug 6, 2021
@SpecialBuilder32
Copy link
Member

I'm gonna merge this; even though #387 isn't fixed, it's been around for so long we can address it after the 1.17 update.

@SpecialBuilder32 SpecialBuilder32 merged commit 17eb0e2 into Gamemode4Dev:master Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality-update Improves efficiency or structure without affecting functionality of a module tested Has passed in-game testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants