diff --git a/src/main/java/os/arcadiadevs/playerservers/hubcore/guis/SelectorGui.java b/src/main/java/os/arcadiadevs/playerservers/hubcore/guis/SelectorGui.java index 6bddec6..366f441 100644 --- a/src/main/java/os/arcadiadevs/playerservers/hubcore/guis/SelectorGui.java +++ b/src/main/java/os/arcadiadevs/playerservers/hubcore/guis/SelectorGui.java @@ -43,7 +43,7 @@ public class SelectorGui { List filteredServers = new ArrayList<>(records); - filteredServers.sort(Comparator.comparing(s -> s.online() ? 1 : 0)); + filteredServers.sort(Comparator.comparing(s -> s.online() ? 0 : 1)); List filteredServersByPlayers = new ArrayList<>(filteredServers); @@ -86,6 +86,7 @@ public class SelectorGui { ItemStack item = itemBuilder .lore(online ? onlineLore : offlineLore) + .skullOwner(server.name() == null ? "" : server.name()) .build(); menu.addButton(new SGButton(item).withListener(