mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-01 05:57:51 +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 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);
|
return ImmutableList.copyOf(ret);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user