From e1534c213978dffd9b1c03447e25a36eccbcd3e7 Mon Sep 17 00:00:00 2001 From: sys4 Date: Wed, 1 May 2019 18:46:26 +0200 Subject: [PATCH] Corrige emplacement de la barre gauges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Place à nouveau la barre au dessus de la tête du joueur. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index cb9f965..54a8672 100644 --- a/init.lua +++ b/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 = 10, z = 0}, {x = 0, y = 0, z = 0}) + ent:set_attach(player, "", {x = 0, y = 18, z = 0}, {x = 0, y = 0, z = 0}) ent = ent:get_luaentity() ent.wielder = player:get_player_name() end