(fix) deleting server with featured servers

This commit is contained in:
kirillsaint 2024-02-01 00:35:39 +06:00
parent 94f1f4d3c3
commit f03286bdd0
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ public class SilentMultiplayerGui extends SilentScreen {
break; break;
case 2: case 2:
if(this.selectedServer != -1) { if(this.selectedServer != -1) {
this.savedServerList.removeServerData(this.selectedServer); this.savedServerList.removeServerData(this.selectedServer - Client.getInstance().getFeaturedServers().size());
this.savedServerList.saveServerList(); this.savedServerList.saveServerList();
this.selectServer(-1); this.selectServer(-1);
this.refreshServerList(); this.refreshServerList();