Skip to content

Commit bef854b

Browse files
committed
removed logging
1 parent 2c971da commit bef854b

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/main/java/lol/hyper/toolstats/events/EntityDamage.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,15 @@ public void onDamage(EntityDamageByEntityEvent event) {
117117
ItemStack heldBow = null;
118118
if (isMainHand) {
119119
heldBow = inventory.getItemInMainHand();
120-
toolStats.logger.info("main");
121120
}
122121
if (isOffHand) {
123122
heldBow = inventory.getItemInOffHand();
124-
toolStats.logger.info("offhand");
125123
}
126124

127125
// if the player is hold a bow in both hands
128126
// default to main hand since that takes priority
129127
if (isMainHand && isOffHand) {
130128
heldBow = inventory.getItemInMainHand();
131-
toolStats.logger.info("both");
132129
}
133130

134131
// player swapped

src/main/java/lol/hyper/toolstats/events/SheepShear.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,15 @@ public void onShear(PlayerInteractEntityEvent event) {
6565
ItemStack shears = null;
6666
if (isMainHand) {
6767
shears = inventory.getItemInMainHand();
68-
toolStats.logger.info("main");
6968
}
7069
if (isOffHand) {
7170
shears = inventory.getItemInOffHand();
72-
toolStats.logger.info("offhand");
7371
}
7472

7573
// if the player is hold fishing rods in both hands
7674
// default to main hand since that takes priority
7775
if (isMainHand && isOffHand) {
7876
shears = inventory.getItemInMainHand();
79-
toolStats.logger.info("both");
8077
}
8178

8279
// player swapped items?

0 commit comments

Comments
 (0)