removed logging

This commit is contained in:
hyperdefined
2022-12-07 15:19:32 -05:00
parent 2c971da1b9
commit bef854be14
2 changed files with 0 additions and 6 deletions

View File

@@ -117,18 +117,15 @@ public class EntityDamage implements Listener {
ItemStack heldBow = null; ItemStack heldBow = null;
if (isMainHand) { if (isMainHand) {
heldBow = inventory.getItemInMainHand(); heldBow = inventory.getItemInMainHand();
toolStats.logger.info("main");
} }
if (isOffHand) { if (isOffHand) {
heldBow = inventory.getItemInOffHand(); heldBow = inventory.getItemInOffHand();
toolStats.logger.info("offhand");
} }
// if the player is hold a bow in both hands // if the player is hold a bow in both hands
// default to main hand since that takes priority // default to main hand since that takes priority
if (isMainHand && isOffHand) { if (isMainHand && isOffHand) {
heldBow = inventory.getItemInMainHand(); heldBow = inventory.getItemInMainHand();
toolStats.logger.info("both");
} }
// player swapped // player swapped

View File

@@ -65,18 +65,15 @@ public class SheepShear implements Listener {
ItemStack shears = null; ItemStack shears = null;
if (isMainHand) { if (isMainHand) {
shears = inventory.getItemInMainHand(); shears = inventory.getItemInMainHand();
toolStats.logger.info("main");
} }
if (isOffHand) { if (isOffHand) {
shears = inventory.getItemInOffHand(); shears = inventory.getItemInOffHand();
toolStats.logger.info("offhand");
} }
// if the player is hold fishing rods in both hands // if the player is hold fishing rods in both hands
// default to main hand since that takes priority // default to main hand since that takes priority
if (isMainHand && isOffHand) { if (isMainHand && isOffHand) {
shears = inventory.getItemInMainHand(); shears = inventory.getItemInMainHand();
toolStats.logger.info("both");
} }
// player swapped items? // player swapped items?