forked from mtcontrib/minetest_hbhunger
Don't set hotbar images with crafting mod
This commit is contained in:
parent
b479f49e14
commit
5fe167c4ea
2
init.lua
2
init.lua
|
@ -54,8 +54,10 @@ local function costum_hud(player)
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
|
|
||||||
--fancy hotbar
|
--fancy hotbar
|
||||||
|
if minetest.get_modpath("crafting") == nil then
|
||||||
player:hud_set_hotbar_image("hud_hotbar.png")
|
player:hud_set_hotbar_image("hud_hotbar.png")
|
||||||
player:hud_set_hotbar_selected_image("hud_hotbar_selected.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
|
||||||
--hunger
|
--hunger
|
||||||
|
|
Loading…
Reference in New Issue
Block a user