diff --git a/src/net/milkbowl/vault/permission/plugins/Permission_GroupManager.java b/src/net/milkbowl/vault/permission/plugins/Permission_GroupManager.java index b1de83e..b435998 100644 --- a/src/net/milkbowl/vault/permission/plugins/Permission_GroupManager.java +++ b/src/net/milkbowl/vault/permission/plugins/Permission_GroupManager.java @@ -184,12 +184,7 @@ public class Permission_GroupManager extends Permission { @Override public boolean playerInGroup(String worldName, String playerName, String groupName) { - String[] groups = perms.getGroups(playerName); - for (String group : groups) - if (group.equalsIgnoreCase(groupName)) - return true; - - return false; + return perms.inGroup(playerName, worldName); } @Override