1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-09 16:17:37 +02:00

empty array is not null array

This commit is contained in:
Necrodoom
2014-06-19 16:50:54 +03:00
committed by KHobbits
parent f407b67e12
commit 04bd8be70a

View File

@@ -27,7 +27,7 @@ public class PermissionsExHandler extends SuperpermsHandler
} }
String[] groupsNames = user.getGroupsNames(); String[] groupsNames = user.getGroupsNames();
if (groupsNames == null) if (groupsNames == null || groupsNames.length == 0)
{ {
return null; return null;
} }