mojira.dev
MC-262930

Command error message translates item name via host languange

When playing on a LAN world with two instances, where the hoster (A) has a different language than the one joining (B), item names in the /enchant error message are translated via the language of A.

Steps to reproduce:

  1. Open a world to LAN on instance A with Language A.

  2. Join the world form instance B.

  3. Set the language in instance B to a different Language than A.

  4. Get any item in the main hand of player B.

  5. use the /enchant @p lure command to try and enchant the item with an unsupported enchantment (for example lure on anything but a fishing rod.)

  6. See that the item name is in language A while the rest of the message is in language B.

Example using upside down English on instance A and normal English on instance B:

[media]

Linked issues

Attachments

Comments 1

McModknower

(Unassigned)

Unconfirmed

(Unassigned)

1.20 Pre-release 5

Retrieved