File tree 1 file changed +0
-4
lines changed
src/main/java/lol/hyper/toolstats/tools
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) {
328
328
// if it's disabled, don't update the stats
329
329
// check to see if the item has the stats, remove them if it does
330
330
if (!toolStats .configTools .checkConfig (clone .getType (), "blocks-mined" )) {
331
- toolStats .logger .info ("config is disabled for item" );
332
331
if (container .has (toolStats .blocksMined )) {
333
- toolStats .logger .info ("however, item has data!" );
334
332
Integer blocksMined = container .get (toolStats .blocksMined , PersistentDataType .INTEGER );
335
333
if (blocksMined == null ) {
336
334
return null ;
@@ -342,10 +340,8 @@ public ItemMeta updateBlocksMined(ItemStack playerTool, int add) {
342
340
List <Component > newLore = removeLore (meta .lore (), lineToRemove );
343
341
meta .lore (newLore );
344
342
}
345
- toolStats .logger .info ("removed lore, returning: " + meta );
346
343
return meta ;
347
344
}
348
- toolStats .logger .info ("item did not have data, ignoring adding stats" );
349
345
return null ;
350
346
}
351
347
You can’t perform that action at this time.
0 commit comments