From d5013546d13c54a9a605bca19b1bf65ab52bcb73 Mon Sep 17 00:00:00 2001 From: Kermina Awad Date: Mon, 29 Jun 2020 11:40:01 -0400 Subject: [PATCH] don't report generator settings --- .../MultiverseCore/utils/metrics/MetricsConfigurator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/onarandombox/MultiverseCore/utils/metrics/MetricsConfigurator.java b/src/main/java/com/onarandombox/MultiverseCore/utils/metrics/MetricsConfigurator.java index fd3470a6..5b34acad 100644 --- a/src/main/java/com/onarandombox/MultiverseCore/utils/metrics/MetricsConfigurator.java +++ b/src/main/java/com/onarandombox/MultiverseCore/utils/metrics/MetricsConfigurator.java @@ -61,7 +61,7 @@ public class MetricsConfigurator { private String getGeneratorName(MultiverseWorld world) { String gen = world.getGenerator(); - return (gen != null && !gen.equalsIgnoreCase("null")) ? gen : NO_GENERATOR_NAME; + return (gen != null && !gen.equalsIgnoreCase("null")) ? gen.split(":")[0] : NO_GENERATOR_NAME; } private void addEnvironmentsMetric() {