geforkt von SteamWar/BungeeCore
Hotfix StatCommand
Dieser Commit ist enthalten in:
Ursprung
4cfb7830f9
Commit
43b123f2cf
@ -44,7 +44,7 @@ public class StatCommand extends SWCommand {
|
|||||||
if (!s.contains("--port"))
|
if (!s.contains("--port"))
|
||||||
return;
|
return;
|
||||||
serverCount.compute(
|
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
|
(server, count) -> (count != null ? count : 0) + 1
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren