5.x compatibility, drop 0.4.x support (#2)

This commit is contained in:
SmallJoker
2019-10-13 19:47:56 +02:00
committed by GitHub
parent ab2d7c83be
commit 6cd5e97542
2 changed files with 2 additions and 4 deletions

View File

@ -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 = 10, 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