Reverse role comparable sort order

This commit is contained in:
William 2023-02-19 12:47:49 +00:00
parent d9a33587b9
commit f5f8708686
No known key found for this signature in database

View File

@ -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() {