Confimed. Here's the console message (17w43b):
[18:43:15] [Server thread/WARN]: Couldn't process command: playsound minecraft:ambient.cave voice
java.lang.ArrayIndexOutOfBoundsException: 2
at cx.a(SourceFile:48) ~[minecraft_server.17w43b.jar:?]
at bj.a(SourceFile:92) [minecraft_server.17w43b.jar:?]
at bj.a(SourceFile:70) [minecraft_server.17w43b.jar:?]
at pa.c(SourceFile:855) [minecraft_server.17w43b.jar:?]
at pa.a(SourceFile:842) [minecraft_server.17w43b.jar:?]
at la.a(SourceFile:37) [minecraft_server.17w43b.jar:?]
at la.a(SourceFile:9) [minecraft_server.17w43b.jar:?]
at hv$1.run(SourceFile:13) [minecraft_server.17w43b.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_141]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_141]
at h.a(SourceFile:125) [minecraft_server.17w43b.jar:?]
at net.minecraft.server.MinecraftServer.D(SourceFile:637) [minecraft_server.17w43b.jar:?]
at nz.D(SourceFile:349) [minecraft_server.17w43b.jar:?]
at net.minecraft.server.MinecraftServer.C(SourceFile:593) [minecraft_server.17w43b.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:497) [minecraft_server.17w43b.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
This'll most likely be fixed when brigadier (the new command parsing library) is implemented, but in the mean time:
The current validation is simply if (args.length < 2)
; changing that to if (args.length < 3)
would solve it. Alternatively, they could make the player argument optional by checking the number of arguments, as is done for the rest of the optional arguments.
Confimed. Here's the console message (17w43b):
This'll most likely be fixed when brigadier (the new command parsing library) is implemented, but in the mean time:
The current validation is simply
if (args.length < 2)
; changing that toif (args.length < 3)
would solve it. Alternatively, they could make the player argument optional by checking the number of arguments, as is done for the rest of the optional arguments.