`//goto` without arguments throws `java.lang.ArrayIndexOutOfBoundsException`
thomasmny opened this issue ยท 1 comments
Server Implementation
Paper
Server Version
1.20
Describe the bug
When running the //goto
command without providing any arguments, a java.lang.ArrayIndexOutOfBoundsException
is thrown
To Reproduce
- Perform
//goto
command without any additional arguments
Expected behaviour
The correct error message is to be sent to the player
Screenshots / Videos
No response
Error log (if applicable)
https://hastebin.com/share/dalibapoku.ruby
Favs Debugpaste
https://athion.net/ISPaster/paste/view/08afc60f5cca48f9b064356393c0d155
Favs Version
FastAsyncVoxelSniper version 2.9.3
Checklist
- I have included a Fawe debugpaste.
- I am using the newest build from https://dev.bukkit.org/projects/favs and the issue still persists.
Anything else?
In the GotoExecutor the java.lang.ArrayIndexOutOfBoundsException
is caught.
However using
x = Integer.parseInt(arguments[0]);
z = Integer.parseInt(arguments[1]);
for getting the x- and z-coordinate input throws the new exception
Hey, thanks for your report! This issue has been fixed in the cloud command system migration (#279).