mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-08-31 09:39:36 +02: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