Skip to content

Fix Block#applyBoneMeal returning false on success#14014

Open
Doc94 wants to merge 2 commits into
PaperMC:mainfrom
Doc94:fix/14012-api-applyBoneMeal-check
Open

Fix Block#applyBoneMeal returning false on success#14014
Doc94 wants to merge 2 commits into
PaperMC:mainfrom
Doc94:fix/14012-api-applyBoneMeal-check

Conversation

@Doc94

@Doc94 Doc94 commented Jun 30, 2026

Copy link
Copy Markdown
Member

Fixes #14012 making the server success its consider for the return in the API method.

i keep the other check because the method for sucesss use that two types... for any sucess interaction (like in previous versions)

@Doc94 Doc94 requested a review from a team as a code owner June 30, 2026 18:46
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Jun 30, 2026
@Lulu13022002

Copy link
Copy Markdown
Contributor

Should just check if the result is an instance of InteractionResult.Success.

@Doc94

Doc94 commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

Should just check if the result is an instance of InteractionResult.Success.

i can make that if its not an isssue consider "CONSUME" like valid for this case.

@Lulu13022002 Lulu13022002 changed the title Fix Block#applyBoneMeal return for success Fix Block#applyBoneMeal returning false on success Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

Block#applyBoneMeal returns false on success since the 1.21.2 InteractionResult split

3 participants