Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
added metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
J3fftw1 committed May 5, 2020
1 parent 545192c commit eb3f26f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/dev/j3fftw/soundmuffler/SoundMuffler.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import me.mrCookieSlime.Slimefun.Objects.Category;
import me.mrCookieSlime.Slimefun.Objects.Research;
import me.mrCookieSlime.Slimefun.api.Slimefun;
import me.mrCookieSlime.Slimefun.bstats.bukkit.Metrics;
import me.mrCookieSlime.Slimefun.cscorelib2.item.CustomItem;
import org.bukkit.Material;
import org.bukkit.NamespacedKey;
Expand All @@ -15,6 +16,9 @@ public class SoundMuffler extends JavaPlugin implements SlimefunAddon {

@Override
public void onEnable() {

new Metrics(this, 7415);

SOUND_MUFFLER = new Category(new NamespacedKey(this, "sound_muffler"),
new CustomItem(Material.BEACON, "&7SoundMuffler", "", "&a> Click to open"));

Expand Down

0 comments on commit eb3f26f

Please sign in to comment.