Clear a Custom Empty Bundle
I am wanting a command that will clear a single item of type bundle, from a players inventory. But i want it to only do so if the bundle has a certain custom name, and is empty. I have the custom name part, but i do not know how to check if it is empty. This is what i have now.
clear @s minecraft:bundle[custom_name='{"color":"green","text":"Common Loot Bag"}'] 1