Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entering no parameter into @[STAT] command generates an error #266

Open
thebuilderbob1 opened this issue Aug 21, 2024 · 0 comments
Open

Comments

@thebuilderbob1
Copy link

thebuilderbob1 commented Aug 21, 2024

Describe the bug
Using a @[STAT] command e.g '@ STR' without any parameters will cause an error in GeneralChatHandler.java

To Reproduce
Steps to reproduce the behavior:

  1. Run the server and login
  2. When in-game, type: '@ STR'
  3. Produces error in GeneralChatHandler - ArrayOutOfBoundsException

Expected behavior
I expected the server to handle input with zero parameters.
I expected a message for the player using the command, that it isn't possible to use the command without any parameters or something like that.

Screenshots
If applicable, add screenshots to help explain your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant