diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsBukkit.java b/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsBukkit.java index bb8acec..4e33879 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsBukkit.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_PermissionsBukkit.java @@ -234,6 +234,10 @@ public class Permission_PermissionsBukkit extends Permission { public String[] getGroups() { List groupNames = new ArrayList(); for (Group group : perms.getAllGroups()) { + //Ignore groups with bad data. + if (group == null || group.getName() == null) { + continue; + } groupNames.add(group.getName()); }