diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-11-02 22:48:07 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-11-02 22:49:25 +0000 |
commit | 841872d591125f1a64aa010003c30d1e5214d4ab (patch) | |
tree | ffdac0614d1098e661de8fff9e8843a9c7a49743 /src/main/java/org | |
parent | 9147301b2f9d546256ad899b23d8df7ad731b58b (diff) | |
download | bukkit-841872d591125f1a64aa010003c30d1e5214d4ab.tar bukkit-841872d591125f1a64aa010003c30d1e5214d4ab.tar.gz bukkit-841872d591125f1a64aa010003c30d1e5214d4ab.tar.lz bukkit-841872d591125f1a64aa010003c30d1e5214d4ab.tar.xz bukkit-841872d591125f1a64aa010003c30d1e5214d4ab.zip |
Fixed issue with hasPermission returning false wrongly
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/permissions/PermissibleBase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/permissions/PermissibleBase.java b/src/main/java/org/bukkit/permissions/PermissibleBase.java index 88fa82e9..6da5663b 100644 --- a/src/main/java/org/bukkit/permissions/PermissibleBase.java +++ b/src/main/java/org/bukkit/permissions/PermissibleBase.java @@ -76,7 +76,7 @@ public class PermissibleBase implements Permissible { if (perm != null) { return perm.getDefault().getValue(isOp()); } else { - return false; + return Permission.DEFAULT_PERMISSION.getValue(isOp()); } } } |