Updated bStats (#4384)

Thank you
This commit is contained in:
TheBusyBiscuit 2021-01-21 23:54:51 +01:00 committed by GitHub
parent 8181743114
commit 67f29d52b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@
</relocation>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>com.gmail.nossr50.mcmmo.metrics.bstat</shadedPattern>
<shadedPattern>com.gmail.nossr50.mcmmo.metrics.bstats</shadedPattern>
</relocation>
</relocations>
</configuration>
@ -247,7 +247,7 @@
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>1.4</version>
<version>1.8</version>
<scope>compile</scope>
</dependency>
<dependency>

View File

@ -253,7 +253,7 @@ public class mcMMO extends JavaPlugin {
Metrics metrics;
if(Config.getInstance().getIsMetricsEnabled()) {
metrics = new Metrics(this);
metrics = new Metrics(this, 3894);
metrics.addCustomChart(new Metrics.SimplePie("version", () -> getDescription().getVersion()));
if(Config.getInstance().getIsRetroMode())