Skip to content

Commit 06a3bb2

Browse files
committed
Update ItemLore.java
1 parent 5624c02 commit 06a3bb2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/lol/hyper/toolstats/tools/ItemLore.java

-4
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,7 @@ public ItemMeta updateBlocksMined(ItemStack playerTool, int add) {
328328
// if it's disabled, don't update the stats
329329
// check to see if the item has the stats, remove them if it does
330330
if (!toolStats.configTools.checkConfig(clone.getType(), "blocks-mined")) {
331-
toolStats.logger.info("config is disabled for item");
332331
if (container.has(toolStats.blocksMined)) {
333-
toolStats.logger.info("however, item has data!");
334332
Integer blocksMined = container.get(toolStats.blocksMined, PersistentDataType.INTEGER);
335333
if (blocksMined == null) {
336334
return null;
@@ -342,10 +340,8 @@ public ItemMeta updateBlocksMined(ItemStack playerTool, int add) {
342340
List<Component> newLore = removeLore(meta.lore(), lineToRemove);
343341
meta.lore(newLore);
344342
}
345-
toolStats.logger.info("removed lore, returning: " + meta);
346343
return meta;
347344
}
348-
toolStats.logger.info("item did not have data, ignoring adding stats");
349345
return null;
350346
}
351347

0 commit comments

Comments
 (0)