
Using an /execute command, I want to check if a certain block is, for example, either oak_fence, OR iron_bars.
However, in my specific case, I can't just use two command blocks to check for either one separately. I tried doing so, like this:
/execute as @a[tag=tagA] at @s unless block ~ ~-1 ~ oak...