Fixed server crash

This commit is contained in:
catfoolyou
2025-02-27 10:59:22 -05:00
parent 30ad33dcef
commit ca62d2cae1
52 changed files with 107 additions and 3747 deletions

View File

@@ -118,7 +118,6 @@ public class WebSocketProxy extends SimpleChannelInboundHandler<ByteBuf> {
public void sendPacket(ByteBuffer arg1) {
if(tcpChannel != null && tcpChannel.isOpen()) {
System.out.println("[WebsocketProxy] - sending packet");
tcpChannel.write(Unpooled.wrappedBuffer(arg1));
}
}

View File

@@ -26,7 +26,7 @@ public class ChannelWrapper {
this.ch.write(packet);
}
ch.unsafe().flushNow();
//ch.unsafe().flushNow();
}
}