Inventory NBT not being checked right
So I'm trying to make it, so that if you hotbar is empty, you get some items, this is what I got:
Continue to help postitem replace entity @a[tag=GPlanes_Pilot1,nbt={Inventory:[{id:"minecraft:air",Slot:0b},{id:"minecraft:air",Slot:1b},{id:"minecraft:air",Slot:2b},{id:"minecraft:air",Slot:3b},{id:"minecraft:air",Slot:4b},{id:"minecraft:air",Slot:5b},{id:"minecraft:air",Slot:6b}]}] container.0 with red_wool{display:{Name:'[{"text":"0%","color":"red","italic":true},{"text":" - Throttle Idle / Break","color":"reset","italic":false}]'},GPlanes_PilotControls:1b}
Now my problem is that this just- doesn't work. I even wrote this:
title @a[tag=GPlanes_Pilot1,nbt=!{Inventory:[{id:"minecraft:air",Slot:0b},{id:"minecraft:air",Slot:1b},{id:"minecraft:air",Slot:2b},{id:"minecraft:air",Slot:3b},{id:"minecraft:air",Slot:4b},{id:"minecraft:air",Slot:5b},{id:"minecraft:air",Slot:6b}]}] actionbar {"text":"Please clear your hotbar","color":"red"}
and it keeps saying the message in the actionbar even though the first 7 slots are empty-