Fix bungee bind error.
This commit is contained in:
parent
30c3d2bfb9
commit
85ffb7f034
|
@ -52,6 +52,7 @@ public class WebSocketListener extends WebSocketServer {
|
|||
|
||||
public WebSocketListener(ListenerInfo info, InetSocketAddress sock, ProxyServer bungeeCord) {
|
||||
super(info.getHost());
|
||||
this.setReuseAddr(true);
|
||||
this.setTcpNoDelay(true);
|
||||
this.setConnectionLostTimeout(20);
|
||||
this.start();
|
||||
|
|
Loading…
Reference in New Issue
Block a user