use of mathax.client.mixininterface.IMultiplayerScreen 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