Minecraft detecting if a player in a certain place has a certain item
Try combining those into one command:
execute if entity @a[x=-628,y=120,z=-157,dx=0,dy=0,dz=3,nbt={Inventory:[{id:"minecraft:rabbit_stew"}]}]
Try combining those into one command:
execute if entity @a[x=-628,y=120,z=-157,dx=0,dy=0,dz=3,nbt={Inventory:[{id:"minecraft:rabbit_stew"}]}]