-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Unknown command console error #11752
Comments
Need some form of minimal repro |
For some reason now I am getting this. Unfortunately I am not able to pinpoint the exact cause:
|
kangarko
changed the title
Using Bukkit#getConsoleSender() in onEnable() corrupts the server's command map
Unknown command console error
Dec 19, 2024
That error doesn't seem possible. It can't find the service via java's service loader API. Is something messing with the META-INF in the server or something removing it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
The unknown command message.
Observed/Actual behavior
Steps/models to reproduce
Call some methods in Bukkit.getConsoleSender() in a plugin's onEnable(). After this, running any unknown command will print this error instead of "Unknown command message". More testing is needed as for which methods in the sender actually break this.
This started to happen in an unknown Paper update, unfortunately I don't have the time to pinpoint to the exact build.
Plugin and Datapack List
My test plugin
Paper version
This server is running Paper version 1.21.4-15-master@bb76819 (2024-12-15T09:48:21Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
Other
No response
The text was updated successfully, but these errors were encountered: