execute at @s positioned ~-2 ~19 ~-3 run data merge block ~ ~ ~ {auto:1b}
scoreboard players remove @a[tag=K,scores={KyuLanternLuck=1..}] KyuLanternLuck 1

execute as @a[scores={HealthSap=0..}] run function zzzzdonotuse:minutetimer/healthsapminutecheck

execute if entity @a[tag=CrippleZombMe] run execute in overworld run data merge block 999979 122 999971 {auto:1b}

execute as @e[type=bee,tag=ZombeeBee] run function zzzzdonotuse:minutetimer/beekill

execute as @a[tag=!GibKyuBook] run function zzzzdonotuse:minutetimer/gibbook

#day timer fix
data merge block 999976 122 999979 {auto:0b}


#nether corruption check
execute if entity @e[type=marker,tag=KyuNetherCorruptionMain,scores={NetherQ=2000..}] run execute in overworld run data merge block 999998 120 999979 {auto:1b}


#tome failsafe
tag @a[nbt=!{SelectedItem:{tag:{display:{Lore:["\"A book of spells\""]}}}}] remove BookInHand



execute as @a[tag=KyuSpecialPlayerTag] run function zzzzdonotuse:minutetimer/specialplayertags