This commit is contained in:
luk3yx 2023-06-16 14:08:51 +12:00
parent 4046fed55f
commit 8a924bbc7c

View File

@ -899,7 +899,7 @@ function Form:show(player, ctx)
end
function Form:show_hud(player, ctx)
local info = minetest.get_player_information(name)
local info = minetest.get_player_information(player:get_player_name())
local tree = self:_render(player, ctx or {}, nil, nil, nil,
info and info.lang_code)
hud_fs.show_hud(player, self, tree)