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

Spreadplayers respectTeams and player arguments have no tab completion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w31a, Minecraft 1.8-pre2, Minecraft 1.8, Minecraft 15w34a, Minecraft 15w34b, Minecraft 15w45a, Minecraft 16w33a, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2
    • Fix Version/s: Minecraft 18w02a
    • Confirmation Status:
      Confirmed

      Description

      The bug

      When you type in the chat

      /spreadplayers ~ ~ 1 4
      

      and then press TAB nothing happens, it won't suggest you "true" or "false" and also with the players it won't suggest you your name (or maybe the name of other players on the server)

      The reason

      The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.

      The reason for this is that the method net.minecraft.command.CommandSpreadPlayers.getTabCompletionOptions(MinecraftServer, ICommandSender, String[], BlockPos) only returns the x and z value if they are the values that are missing / incomplete.

        Attachments

          Activity

            People

            • Assignee:
              searge [Mojang] Searge (Michael Stoyke)
              Reporter:
              marcono1234 [Mod] Marcono1234
            • Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: