Find the correct floodgate version

This commit is contained in:
games647
2023-03-24 17:03:37 +01:00
parent 28cf02129f
commit 0adadd02a1
4 changed files with 5 additions and 5 deletions
@@ -127,7 +127,7 @@ public class FastLoginCore<P extends C, C, T extends PlatformPlugin<C>> {
Set<Proxy> proxies = config.getStringList("proxies")
.stream()
.map(HostAndPort::fromString)
.map(proxy -> new InetSocketAddress(proxy.getHost(), proxy.getPort()))
.map(proxy -> new InetSocketAddress(proxy.getHostText(), proxy.getPort()))
.map(sa -> new Proxy(Type.HTTP, sa))
.collect(toSet());