From f6aacf6becf9d4c635e88f1139ddb16a0bf45551 Mon Sep 17 00:00:00 2001 From: 1F616EMO Date: Wed, 3 Jul 2024 07:06:01 +0800 Subject: [PATCH] Replace deprecated hud_elem_type field in main HUD --- hud.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hud.lua b/hud.lua index ef0e182..a0a34d1 100644 --- a/hud.lua +++ b/hud.lua @@ -66,7 +66,7 @@ minetest.register_globalstep(function(dtime) hud = {} areas.hud[name] = hud hud.areasId = player:hud_add({ - hud_elem_type = "text", + type = "text", name = "Areas", number = 0xFFFFFF, position = {x=0, y=1},