/execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stone 1 say test
is working
/execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_glass 1 say test
it does not work
at stained_glass stands
Failed to execute `detect` as PLAYER
why? please fix it
/execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stone 1 say test
is working
/execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:stained_glass 1 say test
it does not work
at stained_glass stands
Failed to execute `detect` as PLAYER
why? please fix it
works for me when I stand on orange stained glass