1
0
mirror of git://repo.or.cz/minetest_hbhunger.git synced 2024-12-24 08:50:19 +01:00

Don't set hotbar images with crafting mod

This commit is contained in:
BlockMen 2014-04-06 18:42:37 +02:00
parent b479f49e14
commit 5fe167c4ea

View File

@ -53,9 +53,11 @@ end
local function costum_hud(player) local function costum_hud(player)
local name = player:get_player_name() local name = player:get_player_name()
--fancy hotbar --fancy hotbar
player:hud_set_hotbar_image("hud_hotbar.png") if minetest.get_modpath("crafting") == nil then
player:hud_set_hotbar_selected_image("hud_hotbar_selected.png") 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
--hunger --hunger