mirror of
https://github.com/minetest-mods/gauges.git
synced 2025-06-30 07:10:32 +02:00
Merge branch 'master' of yunohost.local:minetest-mods/gauges into nalc-1.2-dev
This commit is contained in:
2
init.lua
2
init.lua
@ -48,7 +48,7 @@ local function add_HP_gauge(name)
|
||||
local ent = minetest.add_entity(pos, "gauges:hp_bar")
|
||||
|
||||
if ent ~= nil then
|
||||
ent:set_attach(player, "", {x = 0, y = 18, z = 0}, {x = 0, y = 0, z = 0})
|
||||
ent:set_attach(player, "", {x = 0, y = 19, z = 0}, {x = 0, y = 0, z = 0})
|
||||
ent = ent:get_luaentity()
|
||||
ent.wielder = player:get_player_name()
|
||||
end
|
||||
|
Reference in New Issue
Block a user