summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2015-05-30 00:06:18 +0100
committerThinkofdeath <thinkofdeath@spigotmc.org>2015-05-30 00:06:18 +0100
commit8c14eb49ef4ab25dad18c8a5ca0d9a3074cd2ed5 (patch)
tree17eca513c07daa21aee13c812db38bbfde302df7 /src
parent50848997470cf3d74abb6405736a908b16fd47d8 (diff)
downloadcraftbukkit-8c14eb49ef4ab25dad18c8a5ca0d9a3074cd2ed5.tar
craftbukkit-8c14eb49ef4ab25dad18c8a5ca0d9a3074cd2ed5.tar.gz
craftbukkit-8c14eb49ef4ab25dad18c8a5ca0d9a3074cd2ed5.tar.lz
craftbukkit-8c14eb49ef4ab25dad18c8a5ca0d9a3074cd2ed5.tar.xz
craftbukkit-8c14eb49ef4ab25dad18c8a5ca0d9a3074cd2ed5.zip
Handle a missed case with our vanilla permissions override
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/util/permissions/CommandPermissions.java1
1 files changed, 1 insertions, 0 deletions
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;