mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Do not send server custom chart for Metrics (#1610)
The server chart is automatically populated by the bStats backend.
This commit is contained in:
parent
ffd0c211fc
commit
24fd7dafc5
1 changed files with 0 additions and 1 deletions
|
@ -200,7 +200,6 @@ public class GeyserConnector {
|
|||
|
||||
if (config.getMetrics().isEnabled()) {
|
||||
metrics = new Metrics(this, "GeyserMC", config.getMetrics().getUniqueId(), false, java.util.logging.Logger.getLogger(""));
|
||||
metrics.addCustomChart(new Metrics.SingleLineChart("servers", () -> 1));
|
||||
metrics.addCustomChart(new Metrics.SingleLineChart("players", players::size));
|
||||
// Prevent unwanted words best we can
|
||||
metrics.addCustomChart(new Metrics.SimplePie("authMode", () -> AuthType.getByName(config.getRemote().getAuthType()).toString().toLowerCase()));
|
||||
|
|
Loading…
Reference in a new issue