diff --git a/src/main/java/net/silentclient/client/ServerDataFeature.java b/src/main/java/net/silentclient/client/ServerDataFeature.java index 1c2f7b7..2122516 100644 --- a/src/main/java/net/silentclient/client/ServerDataFeature.java +++ b/src/main/java/net/silentclient/client/ServerDataFeature.java @@ -8,4 +8,12 @@ public class ServerDataFeature extends ServerData { public ServerDataFeature(String serverName, String serverIp) { super(serverName, serverIp, false); } + + public void resetData() { + this.field_78841_f = false; + this.pingToServer = 0; + this.populationInfo = null; + this.playerList = null; + this.serverMOTD = null; + } } diff --git a/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java b/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java index 9c13c64..60801f2 100644 --- a/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java +++ b/src/main/java/net/silentclient/client/gui/multiplayer/SilentMultiplayerGui.java @@ -89,6 +89,7 @@ public class SilentMultiplayerGui extends SilentScreen { public void getServers() { servers.clear(); for(ServerDataFeature serverDataFeature : Client.getInstance().getFeaturedServers()) { + serverDataFeature.resetData(); servers.add(new ServerComponent(this, serverDataFeature)); } for (int i = 0; i < savedServerList.countServers(); ++i)