3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-05 01:11:08 +02:00

Set datagram type from EventLoops

Dieser Commit ist enthalten in:
RednedEpic 2022-10-29 22:42:38 -05:00
Ursprung a133308f51
Commit 86ebfbbc6e

Datei anzeigen

@ -64,7 +64,7 @@ public final class GeyserServer {
private ServerBootstrap createBootstrap(EventLoopGroup group) {
return new ServerBootstrap()
.channelFactory(RakChannelFactory.server(NioDatagramChannel.class))
.channelFactory(RakChannelFactory.server(EventLoops.getChannelType().getDatagramChannel()))
.option(RakChannelOption.RAK_ADVERTISEMENT, bedrockPong().toByteBuf())
.group(group)
.childHandler(new GeyserServerInitializer(this.geyser));