Adjusted Metrics Module
This commit is contained in:
parent
9291ab671f
commit
06dbd69d39
1 changed files with 3 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue