added config support

This commit is contained in:
hyperdefined
2022-01-29 14:27:42 -05:00
parent 71ae4bca6a
commit 1b2a7fe427
8 changed files with 132 additions and 9 deletions

View File

@@ -100,7 +100,9 @@ public class SheepShear implements Listener {
lore = new ArrayList<>();
lore.add(sheepShearLore.replace("X", Integer.toString(sheepSheared)));
}
meta.setLore(lore);
if (toolStats.config.getBoolean("enabled.sheep-sheared")) {
meta.setLore(lore);
}
itemStack.setItemMeta(meta);
}
}