mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-11-24 08:03:46 +01:00
Remove hotbar support
This commit is contained in:
parent
f6d660d40f
commit
5f3d4b70c6
6
init.lua
6
init.lua
@ -49,12 +49,6 @@ end
|
|||||||
local function custom_hud(player)
|
local function custom_hud(player)
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
|
|
||||||
-- fancy hotbar (only when no crafting mod present)
|
|
||||||
if minetest.get_modpath("crafting") == nil then
|
|
||||||
player:hud_set_hotbar_image("hud_hotbar.png")
|
|
||||||
player:hud_set_hotbar_selected_image("hud_hotbar_selected.png")
|
|
||||||
end
|
|
||||||
|
|
||||||
if minetest.setting_getbool("enable_damage") then
|
if minetest.setting_getbool("enable_damage") then
|
||||||
--health
|
--health
|
||||||
health_hud[name] = player:hud_add({
|
health_hud[name] = player:hud_add({
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.8 KiB |
Loading…
Reference in New Issue
Block a user