mojira.dev
MC-129806

Team prefixes and suffixes don't show for villagers without a custom name

The bug

When showing a villager's name in chat, the prefix and suffix of the team will not show up if the villager has its default name (being the translated name of their profession). (The team color shows up correctly)

How to reproduce

  1. Set up a team:

    /team add test
    /team option test prefix "hi"
  2. Summon a villager in the team and show its name (you'll also see its name already in the /summon feedback message)

    /summon villager ~ ~ ~ {Team:"test"}
    /say @e[team=test]

    → The prefix will not appear

Comments 2

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Please do not mark unreleased versions as affected.
You don't have access to them yet.

AlexMCool

boq

Confirmed

(Unassigned)

Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22b, , 19w36a, 19w37a, 19w38b, 19w39a, 19w40a

19w41a

Retrieved