public void setInventorySlotContents(int pSlotID, ItemStack pNewItemStack) {
if (pSlotID < 0)
return;
if (pSlotID < MAX_CRAFTINGSLOTS) {
craftingStacks[pSlotID] = pNewItemStack;
<BUG>((BlackSmithsAnvilState) getState()).setCraftingprogress(0);
findValidRecipe();</BUG>
return;
}
pSlotID -= MAX_CRAFTINGSLOTS;

public void setInventorySlotContents(int pSlotID, ItemStack pNewItemStack) {
if (pSlotID < 0)
return;
if (pSlotID < MAX_CRAFTINGSLOTS) {
craftingStacks[pSlotID] = pNewItemStack;
(getState()).setCraftingprogress(0);
findValidRecipe();
return;
}
pSlotID -= MAX_CRAFTINGSLOTS;
