mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-12-22 16:48:25 +01:00
Make sure to get the right version
This commit is contained in:
parent
f1cbda15e2
commit
1caae1226c
@ -58,7 +58,7 @@ public class MixinConnectScreen_1 {
|
||||
}
|
||||
}
|
||||
|
||||
if (ClientsideFixes.LEGACY_SRV_RESOLVE.contains(ProtocolHack.getTargetVersion())) {
|
||||
if (ClientsideFixes.LEGACY_SRV_RESOLVE.contains(ProtocolHack.getTargetVersion(original))) {
|
||||
final var direct = AllowedAddressResolver.DEFAULT.addressResolver.resolve(this.field_33737).orElse(null);
|
||||
|
||||
if (direct != null) return direct.getInetSocketAddress();
|
||||
|
Loading…
Reference in New Issue
Block a user