Permalink
Browse files

Faster player.inGroup() lookup

  • Loading branch information...
PseudoKnight committed Oct 12, 2017
1 parent 1479a35 commit ed9c98c049c1a66d5ee7bb92df02fd08adeed788
@@ -276,7 +276,7 @@ public boolean isPermissionSet(String perm) {
@Override
public boolean inGroup(String groupName) {
return getGroups().contains(groupName);
return p.hasPermission(Static.groupPrefix + groupName);
}
@Override

0 comments on commit ed9c98c

Please sign in to comment.