Skip to content
Permalink
Browse files

Bump bStats to 1.7, adding plugin id.

  • Loading branch information
wizjany committed Jan 31, 2020
1 parent 637665f commit 0332929531eebd9682c88162ae0319fcf0c00870
@@ -28,7 +28,7 @@ dependencies {
"implementation"("io.papermc:paperlib:1.0.2")
"api"("com.sk89q.worldedit:worldedit-bukkit:${Versions.WORLDEDIT}") { isTransitive = false }
"implementation"("com.sk89q:commandbook:2.3") { isTransitive = false }
"implementation"("org.bstats:bstats-bukkit:1.5")
"implementation"("org.bstats:bstats-bukkit:1.7")
}

tasks.named<Upload>("install") {
@@ -61,7 +61,7 @@ tasks.named<Jar>("jar") {
tasks.named<ShadowJar>("shadowJar") {
dependencies {
relocate("org.bstats", "com.sk89q.worldguard.bukkit.bstats") {
include(dependency("org.bstats:bstats-bukkit:1.5"))
include(dependency("org.bstats:bstats-bukkit:1.7"))
}
relocate ("io.papermc.lib", "com.sk89q.worldguard.bukkit.paperlib") {
include(dependency("io.papermc:paperlib:1.0.2"))
@@ -214,7 +214,7 @@ public void onEnable() {
((SimpleFlagRegistry) WorldGuard.getInstance().getFlagRegistry()).setInitialized(true);

// Enable metrics
final Metrics metrics = new Metrics(this);
final Metrics metrics = new Metrics(this, 3283); // bStats plugin id
if (metrics.isEnabled() && platform.getGlobalStateManager().extraStats) {
setupCustomCharts(metrics);
}

0 comments on commit 0332929

Please sign in to comment.
You can’t perform that action at this time.