From cb64a13e163f26ad6d4d027bf3338e8ac351b41c Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Thu, 8 Oct 2015 19:15:34 +0200 Subject: [PATCH] Show health and breath bars --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index aa02678..5b0d2d4 100644 --- a/init.lua +++ b/init.lua @@ -3,7 +3,7 @@ local hotbar_size = minetest.setting_get("hotbar_size") or 16 minetest.register_on_joinplayer(function(player) player:hud_set_hotbar_itemcount(hotbar_size) - player:hud_set_flags({crosshair = true, hotbar = true, healthbar = false, wielditem = true, breathbar = false}) + player:hud_set_flags({crosshair = true, hotbar = true, healthbar = true, wielditem = true, breathbar = true}) player:hud_set_hotbar_image("hud_hotbar.png") player:hud_set_hotbar_selected_image("hud_hotbar_selected.png") end)