this command will set a barrier no matter if there was a block there before even though it shouldnt. /execute @a ~ ~ ~ /setblock ~ ~-1 ~ barrier 1 keep
this command will set air instead of all types of blocks instead of just barriers:
/execute @a ~ ~ ~ /fill ~ ~1 ~ ~ ~-1 ~ air 1 barrier 1
How to recreate: use the commands 😃
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.