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