use of net.minecraft.client.gui.screen.multiplayer.MultiplayerServerListWidget in project Client by MatHax.
the class ServerCleanUpScreen method saveServerList.
private void saveServerList() {
multiplayerScreen.getServerList().saveFile();
MultiplayerServerListWidget serverListSelector = ((IMultiplayerScreen) multiplayerScreen).getServerListWidget();
serverListSelector.setSelected(null);
serverListSelector.setServers(multiplayerScreen.getServerList());
}
Aggregations