mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-20 00:39:39 +00:00
Fix user ordering in the editor
This commit is contained in:
1 file changed
+1
@@ -113,6 +113,7 @@ public class EditorCommand extends SingleCommand {
|
||||
users.values().stream()
|
||||
.sorted(Comparator
|
||||
.<User>comparingInt(u -> u.getCachedData().getMetaData(QueryOptions.nonContextual()).getWeight(MetaCheckEvent.Origin.INTERNAL))
|
||||
.reversed()
|
||||
.thenComparing(User::getFormattedDisplayName, String.CASE_INSENSITIVE_ORDER)
|
||||
)
|
||||
.forEach(holders::add);
|
||||
|
||||
Reference in new issue
Block a user