You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The plugin is missing necessary sender type check when performing player-only commands. When the /bal command is executed by the console the plugin will throw ClassCastException
To Reproduce
Steps to reproduce the behavior:
Type /bal in the console
See error
Expected behavior
The plugin denied to perform the command and print an error message (e.g. "This command is player-only")
Screenshots
Not needed
Server Info (please complete the following information):
—OS: Linux
— Java: openjdk version "11.0.13" 2021-10-19 LTS
—Version 0.0.10
Describe the bug
The plugin is missing necessary sender type check when performing player-only commands. When the
/bal
command is executed by the console the plugin will throwClassCastException
To Reproduce
Steps to reproduce the behavior:
/bal
in the consoleExpected behavior
The plugin denied to perform the command and print an error message (e.g. "This command is player-only")
Screenshots
Not needed
Server Info (please complete the following information):
—OS: Linux
— Java: openjdk version "11.0.13" 2021-10-19 LTS
—Version 0.0.10
CCLogs
Not needed
Server logs
https://www.toptal.com/developers/hastebin/ivocusopot.properties
Additional context
None
The text was updated successfully, but these errors were encountered: