Fix bungee bind error.

This commit is contained in:
ayunami2000 2022-07-24 20:30:57 -04:00
parent 30c3d2bfb9
commit 85ffb7f034

View File

@ -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();