Browse Source

Updated bStats (#4384)

Thank you
TheBusyBiscuit 4 years ago
parent
commit
67f29d52b3
2 changed files with 3 additions and 3 deletions
  1. 2 2
      pom.xml
  2. 1 1
      src/main/java/com/gmail/nossr50/mcMMO.java

+ 2 - 2
pom.xml

@@ -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>

+ 1 - 1
src/main/java/com/gmail/nossr50/mcMMO.java

@@ -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())