Fix Leaf Blower not respecting Shears. (MCCORE-44)

This commit is contained in:
GJ 2012-02-23 18:49:56 -05:00
parent a2e41f31ed
commit b39c02154a

View File

@ -372,9 +372,11 @@ public class mcBlockListener implements Listener
} }
} }
else{ else{
if(inhand.getTypeId() != 359){
event.setInstaBreak(true); event.setInstaBreak(true);
WoodCutting.leafBlower(player, block); WoodCutting.leafBlower(player, block);
} }
}
} }