From: oilboi <47129783+oilboi@users.noreply.github.com> Date: Sun, 24 May 2020 06:09:34 +0000 (-0400) Subject: Finally fix client not initializing fully, randomly :) X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=972e39b1c0236f21ae639f8d75b268b572779e98;p=crafter_client.git Finally fix client not initializing fully, randomly :) --- diff --git a/init.lua b/init.lua index 0fb0d15..7c52e45 100644 --- a/init.lua +++ b/init.lua @@ -33,7 +33,7 @@ end --we must delay initialization until the player exists in the world local function recursive_startup_attempt() local ready_to_go = minetest.localplayer - if ready_to_go then + if ready_to_go and minetest.get_node_or_nil(minetest.localplayer:get_pos()) then --good to begin initialize_all() else