From b39c02154affdd8064456403b7c9255e14eaf661 Mon Sep 17 00:00:00 2001 From: GJ Date: Thu, 23 Feb 2012 18:49:56 -0500 Subject: [PATCH] Fix Leaf Blower not respecting Shears. (MCCORE-44) --- .../java/com/gmail/nossr50/listeners/mcBlockListener.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/mcBlockListener.java b/src/main/java/com/gmail/nossr50/listeners/mcBlockListener.java index e096c95e4..c1ef58f3f 100644 --- a/src/main/java/com/gmail/nossr50/listeners/mcBlockListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/mcBlockListener.java @@ -372,8 +372,10 @@ public class mcBlockListener implements Listener } } else{ - event.setInstaBreak(true); - WoodCutting.leafBlower(player, block); + if(inhand.getTypeId() != 359){ + event.setInstaBreak(true); + WoodCutting.leafBlower(player, block); + } } }