mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-09 08:06:54 +02:00
empty array is not null array
This commit is contained in:
@@ -27,7 +27,7 @@ public class PermissionsExHandler extends SuperpermsHandler
|
||||
}
|
||||
|
||||
String[] groupsNames = user.getGroupsNames();
|
||||
if (groupsNames == null)
|
||||
if (groupsNames == null || groupsNames.length == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user