mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-23 18:55:11 +01:00
Minor update to hasGroupSupport method in permissions manager
This commit is contained in:
parent
bb22daab33
commit
8181bda762
@ -407,13 +407,17 @@ public class PermissionsManager {
|
||||
case B_PERMISSIONS:
|
||||
case ESSENTIALS_GROUP_MANAGER:
|
||||
case Z_PERMISSIONS:
|
||||
case PERMISSIONS:
|
||||
return true;
|
||||
|
||||
case VAULT:
|
||||
// Vault
|
||||
return vaultPerms.hasGroupSupport();
|
||||
|
||||
case PERMISSIONS:
|
||||
// Legacy permissions
|
||||
// FIXME: Supported by plugin, but addGroup and removeGroup haven't been implemented correctly yet!
|
||||
return false;
|
||||
|
||||
case NONE:
|
||||
// Not hooked into any permissions system, return false
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user