mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 05:31:32 +01:00
Fix the default permission of /trigger
By: Thinkofname <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
17d7ca3bb4
commit
f9ba5f4744
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ public final class CommandPermissions {
|
||||||
DefaultPermissions.registerPermission(PREFIX + "seed", "Allows the user to view the seed of the world", PermissionDefault.OP, commands);
|
DefaultPermissions.registerPermission(PREFIX + "seed", "Allows the user to view the seed of the world", PermissionDefault.OP, commands);
|
||||||
DefaultPermissions.registerPermission(PREFIX + "effect", "Allows the user to add/remove effects on players", PermissionDefault.OP, commands);
|
DefaultPermissions.registerPermission(PREFIX + "effect", "Allows the user to add/remove effects on players", PermissionDefault.OP, commands);
|
||||||
DefaultPermissions.registerPermission(PREFIX + "selector", "Allows the use of selectors", PermissionDefault.OP, commands);
|
DefaultPermissions.registerPermission(PREFIX + "selector", "Allows the use of selectors", PermissionDefault.OP, commands);
|
||||||
|
DefaultPermissions.registerPermission(PREFIX + "trigger", "Allows the use of the trigger command", PermissionDefault.TRUE, commands);
|
||||||
|
|
||||||
commands.recalculatePermissibles();
|
commands.recalculatePermissibles();
|
||||||
return commands;
|
return commands;
|
||||||
|
|
Loading…
Add table
Reference in a new issue