summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-03-12 21:32:00 +0800
committerKeuin <[email protected]>2022-03-12 21:32:00 +0800
commit14ffd11cbf9208617ab2da0db8ad580ad7975c0a (patch)
treea2ced5f4b2a2625c9f5e4d335e9f68dec1655fce /src/main
parent22bcea2563b2bcc669fc5b9d44c481b769f2aea0 (diff)
Make it compile.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/keuin/crosslink/plugin/bungee/BungeeAccessor.java3
1 files changed, 2 insertions, 1 deletions
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())