Minor update to hasGroupSupport method in permissions manager

This commit is contained in:
Tim Visée 2015-11-21 16:26:05 +01:00
parent bb22daab33
commit 8181bda762

View File

@ -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;