File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
src/main/java/lol/hyper/toolstats/tools Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments