From 9cf86a103cced6465d59c2d40862931fb135b2a4 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 26 Jul 2024 16:22:15 +0200 Subject: fix load for ocean spawn --- data/onechunk/function/load.mcfunction | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data/onechunk/function/load.mcfunction') diff --git a/data/onechunk/function/load.mcfunction b/data/onechunk/function/load.mcfunction index bda726f..93229bc 100644 --- a/data/onechunk/function/load.mcfunction +++ b/data/onechunk/function/load.mcfunction @@ -1,3 +1,4 @@ scoreboard objectives add onechunk_data dummy -execute unless score $initialized onechunk_data matches 1 run function onechunk:initialize +# wait some ticks before running, for player to spawn on land properly +execute unless score $initialized onechunk_data matches 1 run schedule function onechunk:initialize 5t -- cgit v1.2.3