Updated Via*

This commit is contained in:
RaphiMC 2023-04-11 22:10:48 +02:00
parent e7a12f28e4
commit 44e21eccd5
2 changed files with 7 additions and 1 deletions

View File

@ -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"

View File

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