mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Rename hud_elem_type
to type
(#14065)
This commit is contained in:
parent
bc336480e6
commit
467d3a8c62
8 changed files with 45 additions and 15 deletions
|
@ -66,7 +66,7 @@ minetest.register_globalstep(function()
|
|||
local ent = pointed_thing.ref:get_luaentity()
|
||||
if ent and ent.name == "testentities:selectionbox" then
|
||||
hud_ids[pname] = hud_id or player:hud_add({
|
||||
hud_elem_type = "text", -- See HUD element types
|
||||
type = "text", -- See HUD element types
|
||||
position = {x=0.5, y=0.5},
|
||||
text = "X",
|
||||
number = 0xFF0000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue