From 24fd7dafc588bc5c4d0210df325a74b47c069330 Mon Sep 17 00:00:00 2001 From: Bastian Oppermann Date: Tue, 1 Dec 2020 12:40:07 +0100 Subject: [PATCH] Do not send server custom chart for Metrics (#1610) The server chart is automatically populated by the bStats backend. --- .../src/main/java/org/geysermc/connector/GeyserConnector.java | 1 - 1 file changed, 1 deletion(-) diff --git a/connector/src/main/java/org/geysermc/connector/GeyserConnector.java b/connector/src/main/java/org/geysermc/connector/GeyserConnector.java index 01d207e3f..dbbe826ad 100644 --- a/connector/src/main/java/org/geysermc/connector/GeyserConnector.java +++ b/connector/src/main/java/org/geysermc/connector/GeyserConnector.java @@ -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()));