summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2014-04-06 18:42:37 +0200
committerBlockMen <nmuelll@web.de>2014-04-06 18:42:37 +0200
commit5fe167c4ea8d1363f5260ef2d40cd6280a1405b0 (patch)
tree0e2219adb54be0cfd6cc2dae195d6dd44685df04
parentb479f49e1497746d0610074f22b9bf02fc2fbcc3 (diff)
Don't set hotbar images with crafting mod
-rw-r--r--init.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 5316a03..d99a975 100644
--- a/init.lua
+++ b/init.lua
@@ -53,9 +53,11 @@ end
local function costum_hud(player)
local name = player:get_player_name()
- --fancy hotbar
- player:hud_set_hotbar_image("hud_hotbar.png")
- player:hud_set_hotbar_selected_image("hud_hotbar_selected.png")
+--fancy hotbar
+ 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
--hunger