fixup the DroxPerms implementation. it has rudimentary group support.

This commit is contained in:
Nick Minkler 2013-03-16 10:30:01 -07:00
parent bd9d089a3e
commit e4176f4a10
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ public class Permission_DroxPerms extends Permission {
@Override @Override
public boolean groupHas(String world, String group, String permission) { 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 @Override
@ -139,7 +139,7 @@ public class Permission_DroxPerms extends Permission {
@Override @Override
public boolean hasGroupSupport() { public boolean hasGroupSupport() {
return false; return true;
} }
} }