Able to ban/kick without permissions on sponge.
clienthax opened this issue ยท 4 comments
i dont understand if that's a feature request or a bug report
Why the heck would it be a feature request
i dont understand if that's a feature request or a bug report
Why the heck would it be a feature request
- I wasn't being serious, it's obvious you wasn't requesting that.
- You can read the issue in both ways (or at least me, a non-english person).
Issue trackers are for issues, not for your amusement.
@clienthax may need your assistance with digging into where the issue lays as I'm not too familiar with Sponge enough yet. The commands are implementing a testPermission method, I'm not sure where else the permission is meant to be set, unless it needs implementing in the command execute
method itself?
/**
* Test whether this command can probably be executed by the given source.
*
* <p>If implementations are unsure if the command can be executed by
* the source, {@code true} should be returned. Return values of this method
* may be used to determine whether this command is listed in command
* listings.</p>
*
* @param source The caller of the command
* @return Whether permission is (probably) granted
*/
Seems it doesn't get used for any checks.