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

Don't let player loot if reloot time is disabled #9615

Merged

Conversation

lynxplay
Copy link
Contributor

@lynxplay lynxplay commented Aug 16, 2023

If the reloot time is disabled while reloot is restricted, the player should not be able to reloot. The previous logic was incorrect and allowed players to reloot explicitly when the reloot time was disabled.

Resolves: #9613

If the reloot time is disabled while reloot is restricted, the player
should not be able to reloot. The previous logic was incorrect and
allowed players to reloot explicitly when the reloot time was disabled.
@lynxplay lynxplay requested a review from a team as a code owner August 16, 2023 03:52
Copy link
Member

@electronicboy electronicboy left a comment

Choose a reason for hiding this comment

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

No eyes or thinking rock, but, based on convos elsewhere, lgtm

@Machine-Maker Machine-Maker merged commit 47b805f into PaperMC:master Aug 16, 2023
2 checks passed
@lynxplay lynxplay deleted the bugfix/lootable-restriction-time branch April 28, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Players can reloot chests even when restrict-player-reloot is true
3 participants