Prism-Bukkit icon indicating copy to clipboard operation
Prism-Bukkit copied to clipboard

[BUG] Properly register command permissions

Open Artuto opened this issue 4 years ago • 0 comments

Describe the bug Currently, all commands are sent to the client regardless or not they have permission to use it. While this is a minor issue, it does not make sense for players to have commands in their command menu that they cannot use.

To Reproduce

  1. Install Prism
  2. Check the tab complete

Expected behavior Prism should properly set command's permissions.

image

Notice how Bukkit does not know of this command's permission (because Prism is doing it's own check).

Screenshots image

Server (please complete the following information):

  • Prism Version: 2.2.0-SNAPSHOT
  • Server Type: Paper
  • Server Version: 1.18.1

Additional context n/a

Artuto avatar Jan 30 '22 00:01 Artuto