Fixed addGroup method for PermissionsBukkit in permissions manager

This commit is contained in:
Tim Visée 2015-11-21 15:00:14 +01:00
parent f4da63fee6
commit a6fe728d79

View File

@ -466,8 +466,8 @@ public class PermissionsManager {
case PERMISSIONS_BUKKIT: case PERMISSIONS_BUKKIT:
// Permissions Bukkit // Permissions Bukkit
// Permissions Bukkit doesn't support groups, return false // Add the group to the user using a command
return false; return Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "permissions player addgroup " + player.getName() + " " + groupName);
case B_PERMISSIONS: case B_PERMISSIONS:
// bPermissions // bPermissions