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

/playsound command is not validating arguments correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b
    • Minecraft 17w45a
    • Confirmed

    Description

      The Playsound command has the following syntax:
      /playsound <sound> <source> <player> [x] [y] [z] [volume] [pitch] [minVolume]

      However, executing:
      /playsound <sound> <source> and leaving out <player> causes an internal server error to happen.

      Simple fix is to improve the argument validation.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stuntguy3000 Luke Anderson (stuntguy3000)
              Votes:
              6 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: