diff --git a/system/on_joinplayer.lua b/system/on_joinplayer.lua index 77abb0d..485a779 100644 --- a/system/on_joinplayer.lua +++ b/system/on_joinplayer.lua @@ -35,7 +35,7 @@ minetest.register_on_joinplayer(function(player) -- Initially set empty HUD element to store the ID for updates meta:set_string('mtimer:hud_id', player:hud_add({ - hud_elem_type = 'text', + type = 'text', text = '', number = '0x000000', position = {x=0,y=0},