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

@@ -95,7 +95,9 @@ public class PlayerFish implements Listener {
lore = new ArrayList<>();
lore.add(fishCaughtLore.replace("X", Integer.toString(fishCaught)));
}
meta.setLore(lore);
if (toolStats.config.getBoolean("enabled.fish-caught")) {
meta.setLore(lore);
}
itemStack.setItemMeta(meta);
}
}