Merge pull request #2315 from Multiverse/another_metric_fix

Don't Report Generator Settings
This commit is contained in:
Jeremy Wood 2020-07-28 20:41:07 -04:00 committed by GitHub
commit dd29fcc1dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {