From 8c14eb49ef4ab25dad18c8a5ca0d9a3074cd2ed5 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Sat, 30 May 2015 00:06:18 +0100 Subject: Handle a missed case with our vanilla permissions override --- .../java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java b/src/main/java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java index d0377466..1c54b7d6 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java +++ b/src/main/java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java @@ -28,6 +28,7 @@ public final class CommandPermissions { DefaultPermissions.registerPermission(PREFIX + "defaultgamemode", "Allows the user to change the default gamemode of the server", 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 + "selector", "Allows the use of selectors", PermissionDefault.OP, commands); commands.recalculatePermissibles(); return commands; -- cgit v1.2.3