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

whitelist add command suggesting player names lowercase

XMLWordPrintable

    • Unconfirmed

      The bug

      The command /whitelist add suggests player names in lowercase only. This has no negative effect but can be pretty irritating.

      How to reproduce

      1. Use the following command to load a player with a upper case letter into the user cache
        /op Notch
        

        and deop him afterwards

        /deop Notch
        
      2. Type the following and press the TAB key
        /whitelist add 
        

        → The server completes "notch"

      The reason

      The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.

      The reason why this happens is because the field net.minecraft.server.management.PlayerProfileCache.usernameToProfileEntryMap stores usernames in lowercase only.

            grum [Mojang] Grum (Erik Broes)
            marcono1234 Marcono1234
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: