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

@@ -82,7 +82,9 @@ public class EntityDeath implements Listener {
if (!hasTag) {
lore.add(droppedLore.replace("X", mob));
}
meta.setLore(lore);
if (toolStats.config.getBoolean("enabled.dropped-by")) {
meta.setLore(lore);
}
itemStack.setItemMeta(meta);
}
}