Skip to content

feat: add damage check for mending#10630

Closed
andstu wants to merge 1 commit into
PaperMC:masterfrom
andstu:master
Closed

feat: add damage check for mending#10630
andstu wants to merge 1 commit into
PaperMC:masterfrom
andstu:master

Conversation

@andstu
Copy link
Copy Markdown
Contributor

@andstu andstu commented May 1, 2024

Previously the call to getRandomItemWith() was missing the filter for damaged items. This would result in items with full durability being selected for mending.

@andstu andstu requested a review from a team as a code owner May 1, 2024 01:23
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 1, 2024

Please do not open pull requests from the master branch, create a new branch instead.

@github-actions github-actions Bot closed this May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

1 participant