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