Mojira Archive
MC-101113

/playsound command is not validating arguments correctly

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.

Fixed

Luke Anderson (stuntguy3000)

2016-04-20, 07:31 PM

2017-11-09, 03:12 AM

2017-11-09, 03:12 AM

6

2

Confirmed

/playsound, command, exception

Minecraft 1.9.2 - Minecraft 17w43bMinecraft 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