Skip to content

Commit

Permalink
(z_sleep) Fix diminsion check for 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredNeil committed Jul 5, 2020
1 parent 5b55708 commit fe7db02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion z_sleep/data/z_sleep/functions/tick.mcfunction
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fe7db02

Please sign in to comment.