diff --git a/z_sleep/data/z_sleep/functions/tick.mcfunction b/z_sleep/data/z_sleep/functions/tick.mcfunction index 2c006ef..d2d43d4 100644 --- a/z_sleep/data/z_sleep/functions/tick.mcfunction +++ b/z_sleep/data/z_sleep/functions/tick.mcfunction @@ -1,3 +1,3 @@ scoreboard players set #players_overworld z_sleep 0 -execute as @a[nbt={Dimension:0}] run scoreboard players add #players_overworld z_sleep 1 +execute as @a[nbt={Dimension:"minecraft:overworld"}] run scoreboard players add #players_overworld z_sleep 1 execute if score #players_overworld z_sleep matches 1.. run function z_sleep:main