Foods that give you item after eating works fine unless in slot 1

Published by Kinyoshi on
Status
Resolved
Issue description

When you eat the soup can, it gives you the next one in line from 8 down to 1 serving left.. Everything works fine with it, the food being eaten is fine, then it gives you the next item from the procedure.. 

The problem with it, is if you have the soup can in the first slot (bottom left), slot 0? when you eat it then, it eats the food, gives you the item, then removes the item..

Issue comments

I suggest you use get/set item in mainhand instead. This general procedure uses API that does not always work as desired. Eaten food is always from main-hand or off-hand if main hand is empty so use these procedure blocks i

Hey Klemen? I'm sorry to bother you, but I did both the main hand and off hand.. the off hand works fine but the main hand one isn't giving me the item.. I'm using what's in the pic and on eaten..

proc

Hmm, strange. Could you make a new demo workspace demonstrating this main-hand bug and open a new ticket when the cooldown for the tracker is over? Thanks!