mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-07 13:15:02 +00:00
added config support
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user