About permission checking
mcqwy opened this issue ยท 3 comments
Hello, I have a spike server
In use the command is displayed without permission
After reading your source code, I found that the instruction passed the op level detection
Instead of detecting specified permissions
For example: ie.mineral.list
example:
CommandMineral
ICommandSender sender;
Under the execute() method
if (sender.canUseCommand(4, "ie.mineral.list"))
I am now writing the Sponge plug-in to call your command class methods directly
My time is tight
This may be a wrong example, you need to try it yourself.
If you are not in a hurry
I can write a code test tomorrow
Sorry, could you please rephrase this issue and provide the information requested by the issue template?