Server crash with /hat
LucidAPs opened this issue ยท 2 comments
Type of bug
Error in console
/ess version
output
https://nekobin.com/biworatuki
Server startup log
https://nekobin.com/gomecavuca
EssentialsX config files
https://nekobin.com/linawebepi
Error log (if applicable)
https://nekobin.com/viqesekiwi
Bug description
I figure out why it happened, I had a command that would run /hat with an OP status but if the user had air in their hand then the crash would happen.
Steps to reproduce
Expected behaviour
It shouldn't crash the server.
Actual behaviour
It shouldn't crash the server.
Cannot reproduce:
[03:36:58 INFO]: Server version: 1.16.5-R0.1-SNAPSHOT git-Paper-597 (MC: 1.16.5)
[03:36:58 INFO]: EssentialsX version: 2.19.0-dev+104-5171215
[03:36:58 INFO]: LuckPerms version: 5.3.21
[03:36:58 INFO]: Vault version: 1.7.3-b131
These are the steps I followed:
- Log onto server as an OP.
- Attempt to run /hat with nothing in my hand - no crash
- Use /hat while holding another block - other block is now on my head
- Attempt to run /hat again with nothing in my hand - no crash
When using /hat with nothing in my hand, all I received was the error "You must have something to wear in your hand!". Could you please try and reproduce your problem on one of our supported server implementations (CraftBukkit, Spigot, or Paper)?