mojira.dev
MC-265767

Commands don't show error messages in chat

If the player tries to use the /enchant command on an item and sets a level that is not applicable for that enchantment, they will be unable to use the command but the game will not give an error in the chat saying they cannot use the level.

Steps to Reproduce:

  1. Give the player a netherite pickaxe

    /give @p netherite_pickaxe
  2. Run the command on the item

    /enchant @p mending 2

Observed Results:

After the player runs the command, the chat will remain empty.

Expected Results:

The chat would properly log an error in the chat when the player cannot enchant their item.

Screenshots/Videos:

[media]

Linked issues

Attachments

Comments 2

Confirmed, and also this affects all commands, not just /enchant

Try /kill @e[type=blaze] or /effect clear @s bad_luck for other examples

Would you like me to update the issue's description, or leave it as is?

[Mod] Jingy

boq

Confirmed

Platform

Very Important

Commands

23w41a

23w42a

Retrieved