Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Set datagram type from EventLoops
Dieser Commit ist enthalten in:
Ursprung
a133308f51
Commit
86ebfbbc6e
@ -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));
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren