(fix) deleting server with featured servers
This commit is contained in:
parent
0c5ea8e112
commit
1e57f101a5
|
@ -231,7 +231,7 @@ public class SilentMultiplayerGui extends SilentScreen {
|
|||
break;
|
||||
case 2:
|
||||
if(this.selectedServer != -1) {
|
||||
this.savedServerList.removeServerData(this.selectedServer);
|
||||
this.savedServerList.removeServerData(this.selectedServer - Client.getInstance().getFeaturedServers().size());
|
||||
this.savedServerList.saveServerList();
|
||||
this.selectServer(-1);
|
||||
this.refreshServerList();
|
||||
|
|
Loading…
Reference in New Issue