They first steal the item in your last hotbar slot then if nothings there randomly in your inventory so always have spoiled meat or a non valuable in your last hotbar slot

More Pegomastax Encountering Tips