mirror of
https://github.com/ayunami2000/ayunViaProxyEagUtils.git
synced 2024-11-09 06:16:04 -08:00
oops lol
This commit is contained in:
parent
c11026e6b9
commit
cc2eca5bbb
|
@ -99,7 +99,7 @@ public class Main extends ViaProxyPlugin {
|
||||||
c2p.attr(secureWs).set(true);
|
c2p.attr(secureWs).set(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c2p.hasAttr(secureWs)) {
|
if (c2p.hasAttr(secureWs) && c2p.attr(secureWs).get() != null) {
|
||||||
doWsServerStuff(ch, proxyConnection, c2p, addr);
|
doWsServerStuff(ch, proxyConnection, c2p, addr);
|
||||||
if (!event.isLegacyPassthrough()) {
|
if (!event.isLegacyPassthrough()) {
|
||||||
ch.pipeline().addFirst("handshake-waiter", new ChannelOutboundHandlerAdapter() {
|
ch.pipeline().addFirst("handshake-waiter", new ChannelOutboundHandlerAdapter() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user