Update bStats metrics version.

Apparently in 1.7 we now have to specify the plugin ID in the
constructor. So mote it be.
This commit is contained in:
Andreas Troelsen 2020-03-28 16:05:53 +01:00
parent 9fcfad3748
commit a9d39fe345
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@
<dependency> <dependency>
<groupId>org.bstats</groupId> <groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId> <artifactId>bstats-bukkit</artifactId>
<version>1.5</version> <version>1.7</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>

View File

@ -168,7 +168,7 @@ public class MobArena extends JavaPlugin
} }
private void setupMetrics() { private void setupMetrics() {
Metrics metrics = new Metrics(this); Metrics metrics = new Metrics(this, 2572);
metrics.addCustomChart(new VaultChart(this)); metrics.addCustomChart(new VaultChart(this));
metrics.addCustomChart(new ArenaCountChart(this)); metrics.addCustomChart(new ArenaCountChart(this));
metrics.addCustomChart(new ClassCountChart(this)); metrics.addCustomChart(new ClassCountChart(this));