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> <dependency>
<groupId>org.mcstats.bukkit</groupId> <groupId>org.mcstats.bukkit</groupId>
<artifactId>metrics-lite</artifactId> <artifactId>metrics</artifactId>
<version>R7</version> <version>R7</version>
<scope>compile</scope> <scope>compile</scope>
<exclusions> <exclusions>

View File

@ -28,7 +28,7 @@ import org.bukkit.entity.Player;
import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.RegisteredServiceProvider; import org.bukkit.plugin.RegisteredServiceProvider;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import org.mcstats.MetricsLite; import org.mcstats.Metrics;
import com.earth2me.essentials.Essentials; import com.earth2me.essentials.Essentials;
import com.maxmind.geoip.LookupService; import com.maxmind.geoip.LookupService;
@ -130,12 +130,12 @@ public class AuthMe extends JavaPlugin {
} }
try { try {
MetricsLite metrics = new MetricsLite(this); Metrics metrics = new Metrics(this);
metrics.start(); metrics.start();
ConsoleLogger.info("Metrics-Lite started successfully!"); ConsoleLogger.info("Metrics started successfully!");
} catch (IOException e) { } catch (IOException e) {
// Failed to submit the stats :-( // 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); citizens = new CitizensCommunicator(this);