mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-08-31 09:39:36 +02:00
Fixed addGroup method for PermissionsBukkit in permissions manager
This commit is contained in:
parent
f4da63fee6
commit
a6fe728d79
|
@ -466,8 +466,8 @@ public class PermissionsManager {
|
|||
|
||||
case PERMISSIONS_BUKKIT:
|
||||
// Permissions Bukkit
|
||||
// Permissions Bukkit doesn't support groups, return false
|
||||
return false;
|
||||
// Add the group to the user using a command
|
||||
return Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "permissions player addgroup " + player.getName() + " " + groupName);
|
||||
|
||||
case B_PERMISSIONS:
|
||||
// bPermissions
|
||||
|
|
Loading…
Reference in New Issue
Block a user