How to stop machine from working when player has no items

1 post / 0 new
Offline
Last seen: 9 months 2 days ago
Joined: 04/24/2015 - 01:00
Gems: 0
How to stop machine from working when player has no items

So I want to make a smeltery, right? I make the GUI, add the button and add the event to remove (1) copper ingot and (1) zinc ingot and give the player (1) brass ingot... Except.. there is one little problem... If you dont have copper or zinc in your inventory it still works.. I dont now how to  fix it please help!