diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-21 00:29:01 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-21 00:29:01 +0100 |
commit | 78ad4c3f22415813474c375bf1643e249b653d88 (patch) | |
tree | e7400156e7c907bffb24b20ed09928df3b5cdef3 | |
parent | 5774aaa6a0a78ca0069c8cd866e24c914e39ebbf (diff) | |
download | bukkit-78ad4c3f22415813474c375bf1643e249b653d88.tar bukkit-78ad4c3f22415813474c375bf1643e249b653d88.tar.gz bukkit-78ad4c3f22415813474c375bf1643e249b653d88.tar.lz bukkit-78ad4c3f22415813474c375bf1643e249b653d88.tar.xz bukkit-78ad4c3f22415813474c375bf1643e249b653d88.zip |
All permissions now default to OP unless stated otherwise.
-rw-r--r-- | src/main/java/org/bukkit/permissions/Permission.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/permissions/Permission.java b/src/main/java/org/bukkit/permissions/Permission.java index 18818f23..d7c5ba0f 100644 --- a/src/main/java/org/bukkit/permissions/Permission.java +++ b/src/main/java/org/bukkit/permissions/Permission.java @@ -15,7 +15,7 @@ import org.bukkit.plugin.PluginManager; * Represents a unique permission that may be attached to a {@link Permissible} */ public class Permission { - public static final PermissionDefault DEFAULT_PERMISSION = PermissionDefault.FALSE; + public static final PermissionDefault DEFAULT_PERMISSION = PermissionDefault.OP; private final String name; private final Map<String, Boolean> children = new LinkedHashMap<String, Boolean>(); @@ -316,8 +316,6 @@ public class Permission { children.put(entry.getKey(), (Boolean)entry.getValue()); } else if ((entry.getValue() instanceof Map)) { try { - System.out.println("Going to make new child " + (String)entry.getKey() + " perm for " + name); - try { Permission perm = loadPermission((String)entry.getKey(), (Map<String, Object>)entry.getValue(), def, output); |