From 14ffd11cbf9208617ab2da0db8ad580ad7975c0a Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 12 Mar 2022 21:32:00 +0800 Subject: Make it compile. --- src/main/java/com/keuin/crosslink/plugin/bungee/BungeeAccessor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/com/keuin/crosslink/plugin/bungee/BungeeAccessor.java b/src/main/java/com/keuin/crosslink/plugin/bungee/BungeeAccessor.java index 957927e..525f16b 100644 --- a/src/main/java/com/keuin/crosslink/plugin/bungee/BungeeAccessor.java +++ b/src/main/java/com/keuin/crosslink/plugin/bungee/BungeeAccessor.java @@ -41,7 +41,8 @@ public class BungeeAccessor implements ICoreAccessor { var checker = new BungeeServerStatusChecker( plugin.getProxy().getServers().values(), plugin, - GlobalConfigManager.getInstance().getConfig().pingTimeoutMillis() +// GlobalConfigManager.getInstance().getConfig().pingTimeoutMillis() + 2000 ); checker.ping((infoMap) -> callback.accept(infoMap.entrySet().stream().map( (ent) -> new ServerInfo(ent.getKey().getName(), ent.getValue()) -- cgit v1.2.3