(fix) edit servers with featured

This commit is contained in:
kirillsaint 2024-02-10 09:45:29 +06:00
parent 5ab9375124
commit e87fd6d221

View File

@ -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: