KQueue no longer needs to be shaded in on Spigot/Fabric

This commit is contained in:
Camotoy 2023-04-06 19:54:22 -04:00
parent a62595aaa4
commit 8083f70435
4 changed files with 5 additions and 3 deletions

View file

@ -43,6 +43,7 @@ public class GeyserServerInitializer extends BedrockServerInitializer {
this.geyser = geyser;
}
//TODO
/*
@Override
public boolean onConnectionRequest(InetSocketAddress inetSocketAddress) {

View file

@ -41,7 +41,7 @@ public class RakPingHandler extends SimpleChannelInboundHandler<RakPing> {
private final GeyserServer server;
@Override
protected void channelRead0(ChannelHandlerContext ctx, RakPing msg) throws Exception {
protected void channelRead0(ChannelHandlerContext ctx, RakPing msg) {
long guid = ctx.channel().config().getOption(RakChannelOption.RAK_GUID);
RakPong pong = msg.reply(guid, this.server.onQuery(msg.getSender()).toByteBuf());