mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-29 12:37:40 +01:00
Fix sponge service returning subjects in reverse priority order
This commit is contained in:
parent
1df6f4b9df
commit
6a39b721ba
@ -248,7 +248,7 @@ public class LuckPermsService implements PermissionService {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return Integer.compare(g1.getWeight().orElse(0), g2.getWeight().orElse(0)) == 1 ? 1 : -1;
|
||||
return Integer.compare(g1.getWeight().orElse(0), g2.getWeight().orElse(0)) == -1 ? 1 : -1;
|
||||
});
|
||||
return ImmutableList.copyOf(ret);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user