forked from mtcontrib/3d_armor
Fix support for crafting modpack
This commit is contained in:
parent
1c56ee4bd6
commit
741faf3520
@ -84,6 +84,10 @@ if minetest.get_modpath("inventory_plus") then
|
|||||||
.."label[5,1.5;Heal: armor_heal]"
|
.."label[5,1.5;Heal: armor_heal]"
|
||||||
.."label[5,2;Fire: armor_fire]"
|
.."label[5,2;Fire: armor_fire]"
|
||||||
.."list[current_player;main;0,4.5;8,4;]"
|
.."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
|
elseif minetest.get_modpath("unified_inventory") then
|
||||||
inv_mod = "unified_inventory"
|
inv_mod = "unified_inventory"
|
||||||
unified_inventory.register_button("armor", {
|
unified_inventory.register_button("armor", {
|
||||||
|
Loading…
Reference in New Issue
Block a user