scoreboard players enable @a scavenger_beacon
execute as @a[scores={scavenger_beacon=1..}] at @s run function scavenger_diary:do_beacon
scoreboard players set @a[scores={scavenger_beacon=1..}] scavenger_beacon 0
