Adjusted Metrics Module

This commit is contained in:
alisolarflare 2016-11-17 15:06:13 -05:00
parent 9291ab671f
commit 06dbd69d39

View file

@ -3,6 +3,7 @@ package alisolarflare.components.metrics;
import java.io.File; import java.io.File;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.bukkit.configuration.InvalidConfigurationException; import org.bukkit.configuration.InvalidConfigurationException;
@ -27,8 +28,9 @@ public class MetricsModule extends Component{
e.printStackTrace(); e.printStackTrace();
return; return;
} }
//metricsList = metricsYml.getStringList("playerLogins");
metricsList = metricsYml.getStringList("playerLogins"); metricsList = new ArrayList<String>();
registerCommand(plugin, new GetMetrics(this)); registerCommand(plugin, new GetMetrics(this));
registerListener(plugin, new PlayerJoinListener(this)); registerListener(plugin, new PlayerJoinListener(this));
} }