FastAsyncVoxelSniper

FastAsyncVoxelSniper

33.4k Downloads

`//goto` without arguments throws `java.lang.ArrayIndexOutOfBoundsException`

thomasmny opened this issue ยท 1 comments

commented

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

  1. 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

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

commented

Hey, thanks for your report! This issue has been fixed in the cloud command system migration (#279).