File tree Expand file tree Collapse file tree
src/main/java/net/raphimc/viaproxy/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ dependencies {
9191 include " net.lenni0451.classtransform:additionalclassprovider:1.14.1"
9292 include " net.lenni0451:Reflect:1.4.0"
9393 include " net.lenni0451:LambdaEvents:2.4.2"
94- include(" net.lenni0451:MCPing:1.4.3 " ) {
94+ include(" net.lenni0451:MCPing:1.4.4 " ) {
9595 exclude group : " com.google.code.gson" , module : " gson"
9696 }
9797 include " net.lenni0451.commons:swing:1.7.0"
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public class ProtocolVersionDetector {
3131
3232 public static ProtocolVersion get (final SocketAddress serverAddress , final ProtocolVersion clientVersion ) {
3333 final MCPingResponse response = MCPing
34- .pingModern (clientVersion .getOriginalVersion ())
34+ .pingModern (clientVersion .getOriginalVersion (), true )
3535 .tcpSocketFactory (new SocketChannelSocketFactory ())
3636 .address (AddressUtil .toJ16UnixSocketAddress (serverAddress ))
3737 .noResolve ()
You can’t perform that action at this time.
0 commit comments