mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-23 11:05:48 +01:00
fixup the DroxPerms implementation. it has rudimentary group support.
This commit is contained in:
parent
bd9d089a3e
commit
e4176f4a10
@ -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;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user