From e4176f4a10e77d3dedeb5b39871adedc05e62797 Mon Sep 17 00:00:00 2001 From: Nick Minkler Date: Sat, 16 Mar 2013 10:30:01 -0700 Subject: [PATCH] fixup the DroxPerms implementation. it has rudimentary group support. --- .../vault/permission/plugins/Permission_DroxPerms.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_DroxPerms.java b/src/net/milkbowl/vault/permission/plugins/Permission_DroxPerms.java index 073d803..5645252 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_DroxPerms.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_DroxPerms.java @@ -92,7 +92,7 @@ public class Permission_DroxPerms extends Permission { @Override public boolean groupHas(String world, String group, String permission) { - throw new UnsupportedOperationException(getName() + " no groupHas."); + return false; //Droxperms doesn't support direct permission checking of groups } @Override @@ -139,7 +139,7 @@ public class Permission_DroxPerms extends Permission { @Override public boolean hasGroupSupport() { - return false; + return true; } } \ No newline at end of file