fix autoeat

This commit is contained in:
cora 2021-04-11 05:41:19 +02:00 committed by Schmappie Eldress
parent 17f29e7579
commit 9991338895

View File

@ -62,7 +62,7 @@ local function get_hud()
local player = minetest.localplayer
local def
local i = -1
if not player then minetest.after(5,get_hud) end
if not player then minetest.after(5,get_hud) return end
repeat
i = i + 1
def = player:hud_get(i)