From 741faf35208a8a78aeecce909289a78af1dfd244 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Wed, 9 Sep 2015 19:07:31 +0100 Subject: [PATCH] Fix support for crafting modpack --- 3d_armor/armor.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/3d_armor/armor.lua b/3d_armor/armor.lua index 71cc10f..b8f5f53 100644 --- a/3d_armor/armor.lua +++ b/3d_armor/armor.lua @@ -84,6 +84,10 @@ if minetest.get_modpath("inventory_plus") then .."label[5,1.5;Heal: armor_heal]" .."label[5,2;Fire: armor_fire]" .."list[current_player;main;0,4.5;8,4;]" + if minetest.get_modpath("crafting") then + inventory_plus.get_formspec = function(player, page) + end + end elseif minetest.get_modpath("unified_inventory") then inv_mod = "unified_inventory" unified_inventory.register_button("armor", {