SPIGOT-4677: Add minecraft.admin.command_feedback permission

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2019-04-20 13:24:20 +10:00
parent 3d88c2acc0
commit dee9a212cf
2 changed files with 11 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ public final class CommandPermissions {
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);
DefaultPermissions.registerPermission("minecraft.admin.command_feedback", "Receive command broadcasts when sendCommandFeedback is true", PermissionDefault.OP, commands);
commands.recalculatePermissibles();
return commands;
}