diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/permissions/PermissibleBase.java | 2 | ||||
-rw-r--r-- | src/main/java/org/bukkit/permissions/Permission.java | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/permissions/PermissibleBase.java b/src/main/java/org/bukkit/permissions/PermissibleBase.java index 6bf0e510..88fa82e9 100644 --- a/src/main/java/org/bukkit/permissions/PermissibleBase.java +++ b/src/main/java/org/bukkit/permissions/PermissibleBase.java @@ -93,7 +93,7 @@ public class PermissibleBase implements Permissible { } else if (perm != null) { return perm.getDefault().getValue(isOp()); } else { - return false; + return Permission.DEFAULT_PERMISSION.getValue(isOp()); } } diff --git a/src/main/java/org/bukkit/permissions/Permission.java b/src/main/java/org/bukkit/permissions/Permission.java index d7c5ba0f..4381e2e4 100644 --- a/src/main/java/org/bukkit/permissions/Permission.java +++ b/src/main/java/org/bukkit/permissions/Permission.java @@ -5,7 +5,6 @@ import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; -import java.util.Map.Entry; import java.util.Set; import java.util.logging.Level; import org.bukkit.Bukkit; |