Prevent generation when config is not acknowledged by server
This commit is contained in:
+1
@@ -75,6 +75,7 @@ public class ClientNetworkState implements Closeable
|
||||
|
||||
private void onConfigChanged()
|
||||
{
|
||||
this.configReceived = false;
|
||||
this.getClient().sendMessage(new RemotePlayerConfigMessage(new MultiplayerConfig()));
|
||||
}
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ public class NettyClient extends NettyEventSource implements INettyConnection, A
|
||||
|
||||
// Remove IPv6 brackets
|
||||
host = host.replaceAll("[\\[\\]]", "");
|
||||
this.address = new InetSocketAddress(host port);
|
||||
this.address = new InetSocketAddress(host, port);
|
||||
|
||||
if (this.channel != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user