File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/main/java/net/raphimc/viaproxy/proxy/session Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ repositories {
5151
5252dependencies {
5353 includeInJar " com.viaversion:viaversion-common:5.7.0-SNAPSHOT"
54- includeInJar " com.viaversion:viabackwards-common:5.6.1 -SNAPSHOT"
54+ includeInJar " com.viaversion:viabackwards-common:5.7.0 -SNAPSHOT"
5555 includeInJar " com.viaversion:viarewind-common:4.0.13-SNAPSHOT"
5656 includeInJar " net.raphimc:ViaLegacy:3.0.12-SNAPSHOT"
5757 includeInJar " com.viaversion:viaaprilfools-common:4.0.7-SNAPSHOT"
Original file line number Diff line number Diff line change @@ -30,7 +30,11 @@ public BedrockStatusProxyConnection(final ChannelInitializer<Channel> channelIni
3030 }
3131
3232 @ Override
33- public void initialize (final TransportType transportType , final Bootstrap bootstrap ) {
33+ public void initialize (TransportType transportType , final Bootstrap bootstrap ) {
34+ if (transportType == TransportType .KQUEUE ) {
35+ transportType = TransportType .NIO ; // KQueue doesn't work for some reason
36+ }
37+
3438 bootstrap
3539 .group (EventLoops .getClientEventLoop (transportType ))
3640 .channel (transportType .udpClientChannelClass ())
You can’t perform that action at this time.
0 commit comments