We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caf88c7 commit db9e01cCopy full SHA for db9e01c
src/main/java/com/lambda/mixin/render/PlayerListHudMixin.java
@@ -48,7 +48,7 @@
48
@Mixin(PlayerListHud.class)
49
public class PlayerListHudMixin {
50
@Shadow @Final private static Comparator<PlayerListEntry> ENTRY_ORDERING;
51
- @Unique @Final private static Comparator<PlayerListEntry> FRIENDS_FIRST_ENTRY_ORDERING = Comparator
+ @Unique private static final Comparator<PlayerListEntry> FRIENDS_FIRST_ENTRY_ORDERING = Comparator
52
.comparingInt((PlayerListEntry entry) -> FriendManager.INSTANCE.isFriend(entry.getProfile().name()) ? 0 : 1)
53
.thenComparingInt(entry -> -entry.getListOrder())
54
.thenComparingInt((entry) -> entry.getGameMode() == GameMode.SPECTATOR ? 1 : 0)
0 commit comments