From 53ddc3fac0ebc2fae253cec77ff604c516831c2e Mon Sep 17 00:00:00 2001 From: gamerforEA Date: Mon, 24 Dec 2018 16:02:13 +0400 Subject: [PATCH] Fix Metrics injection --- .../main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java index ea0d2a36e..825190657 100644 --- a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java +++ b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/SpongeWorldEdit.java @@ -34,7 +34,7 @@ import com.sk89q.worldedit.sponge.adapter.SpongeImplAdapter; import com.sk89q.worldedit.sponge.adapter.SpongeImplLoader; import com.sk89q.worldedit.sponge.config.SpongeConfiguration; import com.sk89q.worldedit.world.item.ItemTypes; -import org.bstats.sponge.Metrics; +import org.bstats.sponge.Metrics2; import org.slf4j.Logger; import org.spongepowered.api.Sponge; import org.spongepowered.api.block.BlockSnapshot; @@ -77,7 +77,7 @@ public class SpongeWorldEdit { private Logger logger; @Inject - private Metrics metrics; + private Metrics2 metrics; public static final String MOD_ID = "worldedit";