add_item to inventory - Unexpected behavior?
I'm making a berry bush that when you right click on it you get a berry in your inventory. I'm running into odd behavior when using clicker:get_inventory():add_item("main", "farming:blueberrybush"). This does not add an item to the inventory if the spot where the item would be added is your wielded hand. Meaning if the spot where it would be added is currently your selected spot on the hotbar with nothing in it (hand) the item doesn't get added. In every other situation the berry gets added to the first blank spot like I expect it would. Is this the intended behavior of add_item? Do I need to get the wielded item of the player and if it is the hand add the item specifically to that slot?