add /prestiges
also fix inconsistency with checking groups
This commit is contained in:
@@ -46,7 +46,7 @@ public class Prestige extends Rank {
|
||||
}
|
||||
|
||||
public boolean isEligable(Player player) {
|
||||
String[] groups = plugin.getPermissions().getPlayerGroups(player);
|
||||
String[] groups = plugin.getPermissions().getPlayerGroups(null, player);
|
||||
for (String group : groups) {
|
||||
if (group.equalsIgnoreCase(from)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user