I'm having a problem with my custom crafting recipe. Sometimes when I use it, the result item is duplicated into many ghost items. What could be causing this?
Code: https://github.com/vpzomtrrfrt/theandrewmod/blob/13718e3cc753dce14e47019efe9f9cd55914a93a/java/net/reederhome/colin/theandrewmod/RecipesButterShell.java
You don't need the slot variable, it's identical to stack. Also, ItemStacks are not == even if they have the exact same item. Use stack.equals(sigili) instead.