Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-9212

Team colors/prefixes/suffixes are not displayed with @a/@p/@r

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Snapshot 13w05b, Snapshot 13w06a
    • Fix Version/s: Snapshot 13w07a
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      What (Sethbling and) I expected to happen was:
      If a player's name is formatted by their team in the scoreboard system, it would be displayed formatted when command blocks use the /say command with @p/@a/@r.

      What actually happened was:
      As seen in Sethbling's livestream at 2:40:00, the /say command does not display players' team colors/prefixes/suffixes: it just displays their name without any formatting.

      The name is formatted in player chat, overhead, in the player list, and on scoreboards - specifiers in the /say command seem to be the only exception.

      Steps to reproduce:
      1. Create a team with "/scoreboard teams add test"
      2. Change its color with "/scoreboard teams option test color green"
      3. Add yourself with "/scoreboard teams join test"
      4. Say something in chat (don't use the /say command), and observe that your name is green.
      5. "/say @p", and observe that your name is not green.

      Potential issue:
      While I feel this bug is an oversight due to how @p/@a/@r is substituted for actual player names (as far as I know), fixing it may require a special case (e.g. only apply to the /say command, and for any argument after the first one in the /tell command), as it would ordinarily prevent command blocks from working on players who are on teams.

        Attachments

          Activity

            People

            • Assignee:
              dinnerbone [Mojang] Nathan Adams
              Reporter:
              wolfiemario WolfieMario
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: