From 43b123f2cf14d6ba70d6a79bc353eed92566e484 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 18 Sep 2022 13:46:39 +0200 Subject: [PATCH] Hotfix StatCommand --- src/de/steamwar/bungeecore/commands/StatCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/StatCommand.java b/src/de/steamwar/bungeecore/commands/StatCommand.java index ffae168..33c3653 100644 --- a/src/de/steamwar/bungeecore/commands/StatCommand.java +++ b/src/de/steamwar/bungeecore/commands/StatCommand.java @@ -44,7 +44,7 @@ public class StatCommand extends SWCommand { if (!s.contains("--port")) return; serverCount.compute( - s.contains("ssh -L") ? s.substring(s.indexOf("ssh -L") + 6).split(" ")[2] : "local", + s.contains("ssh -L") ? s.substring(s.indexOf("ssh -L") + 6).split(" ")[2] : "sw", (server, count) -> (count != null ? count : 0) + 1 ); });