fix autoeat
This commit is contained in:
parent
17f29e7579
commit
9991338895
@ -62,7 +62,7 @@ local function get_hud()
|
|||||||
local player = minetest.localplayer
|
local player = minetest.localplayer
|
||||||
local def
|
local def
|
||||||
local i = -1
|
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
|
repeat
|
||||||
i = i + 1
|
i = i + 1
|
||||||
def = player:hud_get(i)
|
def = player:hud_get(i)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user