From e87fd6d221298ade859d0869a7c3c6aa99320371 Mon Sep 17 00:00:00 2001 From: kirillsaint Date: Sat, 10 Feb 2024 09:45:29 +0600 Subject: [PATCH] (fix) edit servers with featured --- .../client/gui/multiplayer/SilentMultiplayerGui.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java b/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java index c62b097..3638b56 100644 --- a/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java +++ b/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java @@ -247,7 +247,7 @@ public class SilentMultiplayerGui extends SilentScreen { case 7: ServerComponent serverComponent = this.servers.get(selectedServer); if(serverComponent != null && serverComponent.getServer() != null) { - mc.displayGuiScreen(new AddServerGui(this, serverComponent.getServer(), true, selectedServer)); + mc.displayGuiScreen(new AddServerGui(this, serverComponent.getServer(), true, selectedServer - Client.getInstance().getFeaturedServers().size())); } break; case 8: