Hello all, I have a barrel block that makes alcohol from some items, and I can't get it to work right. There are a few problems I've been having and I can't figure out what, but I have a feeling that I overlooked something important.
Code:
The problems:
When I click with the hops, yeast, cup, or water in my hand, it takes the item but right after, gives it back. (the booleans and everything work fine, and when I click with the cup and it's full it gives me the drink like normal)
When I click with the food it takes it, but then if you click again it gives it back and for some reason takes the drink.
Any help is appreciated, thanks!