mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-10-31 07:39:42 +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 B_PERMISSIONS:
|
||||||
case ESSENTIALS_GROUP_MANAGER:
|
case ESSENTIALS_GROUP_MANAGER:
|
||||||
case Z_PERMISSIONS:
|
case Z_PERMISSIONS:
|
||||||
case PERMISSIONS:
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case VAULT:
|
case VAULT:
|
||||||
// Vault
|
// Vault
|
||||||
return vaultPerms.hasGroupSupport();
|
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:
|
case NONE:
|
||||||
// Not hooked into any permissions system, return false
|
// Not hooked into any permissions system, return false
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user