From 06dbd69d39562b5b15bf88b558e601efa546fbe2 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Thu, 17 Nov 2016 15:06:13 -0500 Subject: [PATCH] Adjusted Metrics Module --- src/alisolarflare/components/metrics/MetricsModule.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/alisolarflare/components/metrics/MetricsModule.java b/src/alisolarflare/components/metrics/MetricsModule.java index f491d2c..5ee437f 100644 --- a/src/alisolarflare/components/metrics/MetricsModule.java +++ b/src/alisolarflare/components/metrics/MetricsModule.java @@ -3,6 +3,7 @@ package alisolarflare.components.metrics; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; +import java.util.ArrayList; import java.util.List; import org.bukkit.configuration.InvalidConfigurationException; @@ -27,8 +28,9 @@ public class MetricsModule extends Component{ e.printStackTrace(); return; } + //metricsList = metricsYml.getStringList("playerLogins"); - metricsList = metricsYml.getStringList("playerLogins"); + metricsList = new ArrayList(); registerCommand(plugin, new GetMetrics(this)); registerListener(plugin, new PlayerJoinListener(this)); }