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

/team join and /team leave tab-complete all entries from scoreboard including fake players

XMLWordPrintable

    • Confirmed
    • (Unassigned)

      Relates to MC-124056

      The bug

      /team join and /team leave tab-complete all entries currently stored in the scoreboard including fake players whose names start with #.

      /team leave should only tab-complete the names of players / entities which are in the team (currently not the case unless the scoreboard tracks them as well).
      (?) Maybe /team join should tab-complete the names of currently online players.

      How to reproduce

      1. Create a scoreboard objective and store a value for a fake player
        /scoreboard objectives add test dummy
        /scoreboard players set #fakePlayer test 1
        
      2. Type the following
        /team leave 
        

        It suggests #fakePlayer

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: