Skip to content

Commit cc2eca5

Browse files
committed
oops lol
1 parent c11026e commit cc2eca5

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/me/ayunami2000/ayunViaProxyEagUtils

1 file changed

+1
-1
lines changed

src/main/java/me/ayunami2000/ayunViaProxyEagUtils/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public void onEvent(final Proxy2ServerChannelInitializeEvent event) throws URISy
9999
c2p.attr(secureWs).set(true);
100100
}
101101

102-
if (c2p.hasAttr(secureWs)) {
102+
if (c2p.hasAttr(secureWs) && c2p.attr(secureWs).get() != null) {
103103
doWsServerStuff(ch, proxyConnection, c2p, addr);
104104
if (!event.isLegacyPassthrough()) {
105105
ch.pipeline().addFirst("handshake-waiter", new ChannelOutboundHandlerAdapter() {

0 commit comments

Comments
 (0)