Using a command block set up like.
clear @[name=USER] 0 0 arrow
into inverted redstone to trigger the next command block if the first one fails
replaceitem @a[name=USER] entity @a[name=USER] slot.wapon.offhand 0 arrow 1 0
what this does is replace every user on the realms item, not just the targeted player.
Cleaning up old tickets: This ticket has not been updated recently (~1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki