mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-10-31 07:39:42 +01:00
Fixed result not being returned
This commit is contained in:
parent
18af8f3171
commit
e45aa88504
@ -130,8 +130,9 @@ public class Utils {
|
||||
* False is also returned if groups aren't supported with the current permissions system.
|
||||
*/
|
||||
public static boolean setGroup(Player player, GroupType group) {
|
||||
// Check whether the permissions check is enabled
|
||||
if(!Settings.isPermissionCheckEnabled)
|
||||
return;
|
||||
return false;
|
||||
|
||||
// Get the permissions manager, and make sure it's valid
|
||||
PermissionsManager permsMan = plugin.getPermissionsManager();
|
||||
|
Loading…
Reference in New Issue
Block a user