Skip to content

Commit 1e4e963

Browse files
committed
remove debug
1 parent 298a8dd commit 1e4e963

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

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

-10
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ public ItemMeta updateCropsMined(ItemStack playerTool, int add) {
261261
// otherwise set the PDC back with the new list
262262
List<String> newTokens = toolStats.itemChecker.removeToken(appliedTokens, "crops-mined");
263263
if (!newTokens.isEmpty()) {
264-
toolStats.logger.info("New tokens: " + newTokens);
265264
container.set(toolStats.tokenApplied, PersistentDataType.STRING, String.join(",", newTokens));
266265
} else {
267266
container.remove(toolStats.tokenApplied);
@@ -360,7 +359,6 @@ public ItemMeta updateBlocksMined(ItemStack playerTool, int add) {
360359
// otherwise set the PDC back with the new list
361360
List<String> newTokens = toolStats.itemChecker.removeToken(appliedTokens, "blocks-mined");
362361
if (!newTokens.isEmpty()) {
363-
toolStats.logger.info("New tokens: " + newTokens);
364362
container.set(toolStats.tokenApplied, PersistentDataType.STRING, String.join(",", newTokens));
365363
} else {
366364
container.remove(toolStats.tokenApplied);
@@ -460,7 +458,6 @@ public ItemMeta updatePlayerKills(ItemStack playerWeapon, int add) {
460458
// otherwise set the PDC back with the new list
461459
List<String> newTokens = toolStats.itemChecker.removeToken(appliedTokens, "player-kills");
462460
if (!newTokens.isEmpty()) {
463-
toolStats.logger.info("New tokens: " + newTokens);
464461
container.set(toolStats.tokenApplied, PersistentDataType.STRING, String.join(",", newTokens));
465462
} else {
466463
container.remove(toolStats.tokenApplied);
@@ -559,7 +556,6 @@ public ItemMeta updateMobKills(ItemStack playerWeapon, int add) {
559556
// otherwise set the PDC back with the new list
560557
List<String> newTokens = toolStats.itemChecker.removeToken(appliedTokens, "mob-kills");
561558
if (!newTokens.isEmpty()) {
562-
toolStats.logger.info("New tokens: " + newTokens);
563559
container.set(toolStats.tokenApplied, PersistentDataType.STRING, String.join(",", newTokens));
564560
} else {
565561
container.remove(toolStats.tokenApplied);
@@ -666,7 +662,6 @@ public ItemMeta updateArmorDamage(ItemStack armorPiece, double damage, boolean b
666662
// otherwise set the PDC back with the new list
667663
List<String> newTokens = toolStats.itemChecker.removeToken(appliedTokens, "damage-taken");
668664
if (!newTokens.isEmpty()) {
669-
toolStats.logger.info("New tokens: " + newTokens);
670665
container.set(toolStats.tokenApplied, PersistentDataType.STRING, String.join(",", newTokens));
671666
} else {
672667
container.remove(toolStats.tokenApplied);
@@ -773,7 +768,6 @@ public ItemMeta updateWeaponDamage(ItemStack weapon, double damage, boolean bypa
773768
// otherwise set the PDC back with the new list
774769
List<String> newTokens = toolStats.itemChecker.removeToken(appliedTokens, "damage-done");
775770
if (!newTokens.isEmpty()) {
776-
toolStats.logger.info("New tokens: " + newTokens);
777771
container.set(toolStats.tokenApplied, PersistentDataType.STRING, String.join(",", newTokens));
778772
} else {
779773
container.remove(toolStats.tokenApplied);
@@ -872,7 +866,6 @@ public ItemMeta updateFlightTime(ItemStack elytra, long duration) {
872866
// otherwise set the PDC back with the new list
873867
List<String> newTokens = toolStats.itemChecker.removeToken(appliedTokens, "flight-time");
874868
if (!newTokens.isEmpty()) {
875-
toolStats.logger.info("New tokens: " + newTokens);
876869
container.set(toolStats.tokenApplied, PersistentDataType.STRING, String.join(",", newTokens));
877870
} else {
878871
container.remove(toolStats.tokenApplied);
@@ -989,7 +982,6 @@ public ItemMeta updateSheepSheared(ItemStack shears, int add) {
989982
// otherwise set the PDC back with the new list
990983
List<String> newTokens = toolStats.itemChecker.removeToken(appliedTokens, "sheep-sheared");
991984
if (!newTokens.isEmpty()) {
992-
toolStats.logger.info("New tokens: " + newTokens);
993985
container.set(toolStats.tokenApplied, PersistentDataType.STRING, String.join(",", newTokens));
994986
} else {
995987
container.remove(toolStats.tokenApplied);
@@ -1088,7 +1080,6 @@ public ItemMeta updateArrowsShot(ItemStack bow, int add) {
10881080
// otherwise set the PDC back with the new list
10891081
List<String> newTokens = toolStats.itemChecker.removeToken(appliedTokens, "arrows-shot");
10901082
if (!newTokens.isEmpty()) {
1091-
toolStats.logger.info("New tokens: " + newTokens);
10921083
container.set(toolStats.tokenApplied, PersistentDataType.STRING, String.join(",", newTokens));
10931084
} else {
10941085
container.remove(toolStats.tokenApplied);
@@ -1189,7 +1180,6 @@ public ItemMeta updateFishCaught(ItemStack fishingRod, int add) {
11891180
// otherwise set the PDC back with the new list
11901181
List<String> newTokens = toolStats.itemChecker.removeToken(appliedTokens, "fish-caught");
11911182
if (!newTokens.isEmpty()) {
1192-
toolStats.logger.info("New tokens: " + newTokens);
11931183
container.set(toolStats.tokenApplied, PersistentDataType.STRING, String.join(",", newTokens));
11941184
} else {
11951185
container.remove(toolStats.tokenApplied);

0 commit comments

Comments
 (0)