advancement grant @s only survivalplus:adventure/misc/torch_arrow
clear @s[gamemode=!creative] torch 1
data merge entity @n[type=#minecraft:arrows,nbt={inGround:0b},tag=!torcharrow] {Fire:300s}
execute if entity @s[gamemode=!adventure] run tag @n[type=#minecraft:arrows,nbt={inGround:0b},tag=!torcharrow] add specialarrow
execute if entity @s[gamemode=!adventure] run tag @n[type=#minecraft:arrows,nbt={inGround:0b},tag=!torcharrow] add torcharrow