diff --git a/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java b/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java index cb6d849aa..e61dfc30b 100644 --- a/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java +++ b/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java @@ -27,7 +27,7 @@ public class PermissionsExHandler extends SuperpermsHandler } String[] groupsNames = user.getGroupsNames(); - if (groupsNames == null) + if (groupsNames == null || groupsNames.length == 0) { return null; }