mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-18 15:47:46 +01:00
fix #64
This commit is contained in:
parent
3fead84f59
commit
748085f8aa
@ -103,7 +103,7 @@ public class VRVersionProvider extends VersionProvider {
|
||||
try {
|
||||
if (serverVer == -2) {
|
||||
// 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) {
|
||||
ViaFabric.JLOGGER.warning("Couldn't auto detect: " + e);
|
||||
|
Loading…
Reference in New Issue
Block a user