From fe7db0210748d7caaf5b08ec9a58e18356de5e2a Mon Sep 17 00:00:00 2001 From: Jared Neil Date: Sun, 5 Jul 2020 13:52:01 -0600 Subject: [PATCH] (z_sleep) Fix diminsion check for 1.16 --- z_sleep/data/z_sleep/functions/tick.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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