} else {
super.changeCurrentItem(direction);
}
}
@Override
<BUG>public int func_174925_a(Item targetId, int targetDamage, int amount, NBTTagCompound targetNBT) {

int stacks = super.func_174925_a(targetId, targetDamage, amount, targetNBT);
</BUG>
if(amount > 0 && stacks >= amount){

} else {
super.changeCurrentItem(direction);
}
}
@Override
public int clearMatchingItems(Item targetId, int targetDamage, int amount, NBTTagCompound targetNBT) {
int stacks = super.clearMatchingItems(targetId, targetDamage, amount, targetNBT);
if(amount > 0 && stacks >= amount){
