Skip to content

Commit

Permalink
Faster player.inGroup() lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
PseudoKnight committed Oct 12, 2017
1 parent 1479a35 commit ed9c98c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -276,7 +276,7 @@ public List<String> getGroups() {

@Override
public boolean inGroup(String groupName) {
return getGroups().contains(groupName);
return p.hasPermission(Static.groupPrefix + groupName);
}

@Override
Expand Down

0 comments on commit ed9c98c

Please sign in to comment.