This commit is contained in:
creeper123123321 2020-10-17 08:01:22 -03:00
parent 3fead84f59
commit 748085f8aa

View File

@ -103,7 +103,7 @@ public class VRVersionProvider extends VersionProvider {
try { try {
if (serverVer == -2) { if (serverVer == -2) {
// sadly we'll need to block netty thread, we'll need to be fast // sadly we'll need to block netty thread, we'll need to be fast
return ProtocolAutoDetector.SERVER_VER.get((InetSocketAddress) addr).get(1, TimeUnit.SECONDS).getId(); serverVer = ProtocolAutoDetector.SERVER_VER.get((InetSocketAddress) addr).get(1, TimeUnit.SECONDS).getId();
} }
} catch (Exception e) { } catch (Exception e) {
ViaFabric.JLOGGER.warning("Couldn't auto detect: " + e); ViaFabric.JLOGGER.warning("Couldn't auto detect: " + e);