From 1caebea71d1b17a88e40713a1164cb3a946c083c Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 21 Sep 2011 00:29:01 +0100 Subject: [PATCH] All permissions now default to OP unless stated otherwise. By: Dinnerbone --- .../src/main/java/org/bukkit/permissions/Permission.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/permissions/Permission.java b/paper-api/src/main/java/org/bukkit/permissions/Permission.java index 18818f2326..d7c5ba0fd1 100644 --- a/paper-api/src/main/java/org/bukkit/permissions/Permission.java +++ b/paper-api/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 children = new LinkedHashMap(); @@ -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)entry.getValue(), def, output);