forked from Upstream/Velocitab
Reverse role comparable sort order
This commit is contained in:
parent
d9a33587b9
commit
f5f8708686
@ -25,7 +25,7 @@ public class Role implements Comparable<Role> {
|
||||
|
||||
@Override
|
||||
public int compareTo(@NotNull Role o) {
|
||||
return o.weight - weight;
|
||||
return weight - o.weight;
|
||||
}
|
||||
|
||||
public Optional<String> getPrefix() {
|
||||
|
Loading…
Reference in New Issue
Block a user