Hey guys, I am having a problem with a furnace in the mod I'm developing and I am now realizing how big of a issue it is. Basically what is happening is that players can shift click items into every slot in order slot 1 the input that's normal. Slot 2 fuel, also normal. Slot 3 the output slot, that slot is the problem. Whats happening is that since they can put items into that slot if the item they put in the slot is a item that is a smelting result then it will give you xp when you take that item out. Creating a free xp glitch.
Heres the code.
If someone could direct me in the right direction to fix this It would be appreciated.