mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-10-31 07:39:42 +01: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:
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user