From 113d7f3feb57f5fddd943634cbac2be719e0a7f8 Mon Sep 17 00:00:00 2001 From: "Blue (Lukas Rieger)" Date: Sun, 16 May 2021 22:20:48 +0200 Subject: [PATCH] Apparently we can also relocate bstats on sponge now --- implementations/sponge-7.2.0/build.gradle | 1 + implementations/sponge-8.0.0/build.gradle | 1 + .../main/java/de/bluecolored/bluemap/sponge8/SpongePlugin.java | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/implementations/sponge-7.2.0/build.gradle b/implementations/sponge-7.2.0/build.gradle index 698ee074..0a1a29e7 100644 --- a/implementations/sponge-7.2.0/build.gradle +++ b/implementations/sponge-7.2.0/build.gradle @@ -25,6 +25,7 @@ build.dependsOn shadowJar { relocate 'com.google.errorprone', 'de.bluecolored.shadow.google.errorprone' relocate 'org.spongepowered.configurate', 'de.bluecolored.shadow.configurate' relocate 'org.aopalliance', 'de.bluecolored.shadow.aopalliance' + relocate 'org.bstats', 'de.bluecolored.shadow.bstats' relocate 'com.typesafe.config', 'de.bluecolored.shadow.typesafe.config' relocate 'org.checkerframework', 'de.bluecolored.shadow.checkerframework' relocate 'org.codehaus', 'de.bluecolored.shadow.codehaus' diff --git a/implementations/sponge-8.0.0/build.gradle b/implementations/sponge-8.0.0/build.gradle index 152f4166..168ff897 100644 --- a/implementations/sponge-8.0.0/build.gradle +++ b/implementations/sponge-8.0.0/build.gradle @@ -25,6 +25,7 @@ build.dependsOn shadowJar { relocate 'com.google.errorprone', 'de.bluecolored.shadow.google.errorprone' relocate 'org.spongepowered.configurate', 'de.bluecolored.shadow.configurate' relocate 'org.aopalliance', 'de.bluecolored.shadow.aopalliance' + relocate 'org.bstats', 'de.bluecolored.shadow.bstats' relocate 'com.typesafe.config', 'de.bluecolored.shadow.typesafe.config' relocate 'org.checkerframework', 'de.bluecolored.shadow.checkerframework' relocate 'org.codehaus', 'de.bluecolored.shadow.codehaus' diff --git a/implementations/sponge-8.0.0/src/main/java/de/bluecolored/bluemap/sponge8/SpongePlugin.java b/implementations/sponge-8.0.0/src/main/java/de/bluecolored/bluemap/sponge8/SpongePlugin.java index 31a37de9..4623b189 100644 --- a/implementations/sponge-8.0.0/src/main/java/de/bluecolored/bluemap/sponge8/SpongePlugin.java +++ b/implementations/sponge-8.0.0/src/main/java/de/bluecolored/bluemap/sponge8/SpongePlugin.java @@ -38,7 +38,6 @@ import de.bluecolored.bluemap.sponge8.SpongeCommands.SpongeCommandProxy; import net.querz.nbt.CompoundTag; import net.querz.nbt.NBTUtil; -import org.bstats.sponge.Metrics; import org.spongepowered.api.Platform; import org.spongepowered.api.Server; import org.spongepowered.api.Sponge;