All in the title, Game log :
[18:06:07] [Client thread/INFO]: [CHAT] Usage: /worldborder warning <time|distance>
[18:06:10] [Client thread/INFO]: [CHAT] An unknown error occurred while attempting to perform this command
[18:06:10] [Server thread/ERROR]: Couldn't process command: 'worldborder warning time'
java.lang.ArrayIndexOutOfBoundsException: 2
at dg.a(SourceFile:120) ~[1.8-pre1.jar:?]
at ab.a(SourceFile:80) [1.8-pre1.jar:?]
at ab.a(SourceFile:63) [1.8-pre1.jar:?]
at rj.d(SourceFile:635) [1.8-pre1.jar:?]
at rj.a(SourceFile:622) [1.8-pre1.jar:?]
at lu.a(SourceFile:37) [1.8-pre1.jar:?]
at lu.a(SourceFile:9) [1.8-pre1.jar:?]
at ih.run(SourceFile:13) [1.8-pre1.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_45]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_45]
at net.minecraft.server.MinecraftServer.z(SourceFile:576) [1.8-pre1.jar:?]
at net.minecraft.server.MinecraftServer.y(SourceFile:531) [1.8-pre1.jar:?]
at cyf.y(SourceFile:155) [1.8-pre1.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:447) [1.8-pre1.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_45]
[18:06:13] [Server thread/ERROR]: Couldn't process command: 'worldborder warning distance'
java.lang.ArrayIndexOutOfBoundsException: 2
at dg.a(SourceFile:120) ~[1.8-pre1.jar:?]
at ab.a(SourceFile:80) [1.8-pre1.jar:?]
at ab.a(SourceFile:63) [1.8-pre1.jar:?]
at rj.d(SourceFile:635) [1.8-pre1.jar:?]
at rj.a(SourceFile:622) [1.8-pre1.jar:?]
at lu.a(SourceFile:37) [1.8-pre1.jar:?]
at lu.a(SourceFile:9) [1.8-pre1.jar:?]
at ih.run(SourceFile:13) [1.8-pre1.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_45]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_45]
at net.minecraft.server.MinecraftServer.z(SourceFile:576) [1.8-pre1.jar:?]
at net.minecraft.server.MinecraftServer.y(SourceFile:531) [1.8-pre1.jar:?]
at cyf.y(SourceFile:155) [1.8-pre1.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:447) [1.8-pre1.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_45]
[18:06:14] [Client thread/INFO]: [CHAT] An unknown error occurred while attempting to perform this command
Linked issues
is duplicated by 1
Comments 7
Well in game it just throws "An unknown error occured while attempting to perform this command" without explaining how do we use that command.
"/worldborder set" shows how to use the command but the commands I mentionned just throws the error
Well why should this be invalid, leaving out an argument should probably not cause an error message like this
Confirmed for 1.8.2-pre1
Please reopen
Marcono, the commands literally require both of those things in order for the commands to function.
Here are the syntaxes for both commands:
/worldborder warning distance <sizeInBlocks>/worldborder warning time <timeInSeconds>If they were completely optional, they would've been like so:
/worldborder warning distance [sizeInBlocks]/worldborder warning time [timeInSeconds]When doing "/worldborder warning time" or "/worldborder warning distance", instead of showing this :
An unknown error occurred while attempting to perform this commandIt should show :
Syntax : /worldborder warning time <timeInSeconds>or
Syntax : /worldborder warning distance <sizeInBlocks>respectively
(PS : I edited a little bit the title to reflect the real problem)
Sonic, the game still should not throw an error but instead show the correct syntaxt. It is like using only /give @p which also doesn't throw an error
The "sizeinBlocks" and the "timeinSeconds" are required for the commands to function.