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;
if (isMainHand) {
heldBow = inventory.getItemInMainHand();
toolStats.logger.info("main");
}
if (isOffHand) {
heldBow = inventory.getItemInOffHand();
toolStats.logger.info("offhand");
}
// if the player is hold a bow in both hands
// default to main hand since that takes priority
if (isMainHand && isOffHand) {
heldBow = inventory.getItemInMainHand();
toolStats.logger.info("both");
}
// player swapped

View File

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