advancement revoke @a only lbdm:click/the_end/npc.edit
execute if data storage lbdm:temp {the_end_dialogue_cooldown:true} run return fail
function lbdm:the_end/npc/phrases/edit/phrase
execute as @e[tag=npc.bd_edit] at @s facing entity @p eyes run tp @s ~ ~ ~ ~ 0
execute as @e[tag=aj.raya.root] at @s facing entity @p eyes run tp @s ~ ~ ~ ~ 0