The bug
When a /recipe command targets multiple players, it can succeed for some but fail for others. In this case, the command’s result correctly returns the number of players that were affected, but the feedback message incorrectly shows the number of players that were targeted.
How to reproduce
Have two players in the world
/recipe give @p netherite_block/recipe give @a netherite_block
Expected result
Should say “Unlocked 1 recipe(s) for (other player name)”
Observed result
Says “Unlocked 1 recipe(s) for 2 players”
Notes
/recipe give and /recipe take are both affected. If execute store is used, the result is properly 1, not 2. If no players are affected, the command properly fails.
This issue was split from MC-122717
Linked issues
relates to 1
Comments 0
No comments.