Change to Metrics

This commit is contained in:
Xephi59 2015-07-06 23:09:35 +02:00
parent 0b39d6373c
commit 627a57615a
2 changed files with 7 additions and 7 deletions

View File

@ -216,7 +216,7 @@
<dependency>
<groupId>org.mcstats.bukkit</groupId>
<artifactId>metrics-lite</artifactId>
<artifactId>metrics</artifactId>
<version>R7</version>
<scope>compile</scope>
<exclusions>

View File

@ -28,7 +28,7 @@ import org.bukkit.entity.Player;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin;
import org.mcstats.MetricsLite;
import org.mcstats.Metrics;
import com.earth2me.essentials.Essentials;
import com.maxmind.geoip.LookupService;
@ -128,16 +128,16 @@ public class AuthMe extends JavaPlugin {
this.getServer().shutdown();
return;
}
try {
MetricsLite metrics = new MetricsLite(this);
Metrics metrics = new Metrics(this);
metrics.start();
ConsoleLogger.info("Metrics-Lite started successfully!");
ConsoleLogger.info("Metrics started successfully!");
} catch (IOException e) {
// Failed to submit the stats :-(
ConsoleLogger.showError("Can't start Metrics-Lite! The plugin will work anyway...");
ConsoleLogger.showError("Can't start Metrics! The plugin will work anyway...");
}
citizens = new CitizensCommunicator(this);
if (Settings.enableAntiBot) {