I'm building my own custom created mini-game called murder.
I have 3 teams, and I only have to setup 1 more, but I've ran into a problem; When they get an arrow and shoot it a command block with testfor
activates and starts giving them every single time when they have no arrows, an arrow.
The problem is I only want them to give them 1 arrow at a time, so when they shoot that arrow, they get 1 back within 30 ticks of time , but I don't have enough experience with command blocks to do so, anyone who can help me?
testfor
because it probably isn't./testfor @a[team=Arrow] {Inventory{Slot9b,id:minecraft:air}
and would activate if there is nothing in that specific slot, but my problem here is now thatminecraft:air
wont work, I need it to detect that slot 9 is empty.