mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-04 09:10:36 +01:00
Updated Via*
This commit is contained in:
parent
e7a12f28e4
commit
44e21eccd5
@ -78,7 +78,7 @@ dependencies {
|
||||
exclude group: "com.google.guava", module: "guava"
|
||||
}
|
||||
include "com.viaversion:viarewind-core:2.0.4-SNAPSHOT"
|
||||
include "net.raphimc:ViaLegacy:2.2.13"
|
||||
include "net.raphimc:ViaLegacy:2.2.14"
|
||||
include "net.raphimc:ViaAprilFools:2.0.6"
|
||||
include("net.raphimc:ViaBedrock:0.0.1-SNAPSHOT") {
|
||||
exclude group: "io.netty", module: "netty-codec-http"
|
||||
|
@ -68,6 +68,8 @@ public class EaglercraftInitialHandler extends ByteToMessageDecoder {
|
||||
ctx.pipeline().addBefore(Client2ProxyChannelInitializer.EAGLERCRAFT_INITIAL_HANDLER_NAME, Client2ProxyChannelInitializer.WEBSOCKET_ACTIVE_NOTIFIER_NAME, new WebSocketActiveNotifier());
|
||||
ctx.pipeline().addBefore(Client2ProxyChannelInitializer.EAGLERCRAFT_INITIAL_HANDLER_NAME, Client2ProxyChannelInitializer.EAGLERCRAFT_HANDLER_NAME, new EaglercraftHandler());
|
||||
|
||||
ctx.fireUserEventTriggered(EaglercraftClientConnected.INSTANCE);
|
||||
|
||||
ctx.pipeline().fireChannelRead(in.readBytes(in.readableBytes()));
|
||||
} else {
|
||||
out.add(in.readBytes(in.readableBytes()));
|
||||
@ -77,4 +79,8 @@ public class EaglercraftInitialHandler extends ByteToMessageDecoder {
|
||||
}
|
||||
}
|
||||
|
||||
public static final class EaglercraftClientConnected {
|
||||
public static final EaglercraftClientConnected INSTANCE = new EaglercraftClientConnected();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user