make leather backpack conditional on mobs

master
Tai @ Flex 2017-01-18 15:36:28 +00:00
parent bbb7241605
commit 479357ed07
1 changed files with 44 additions and 42 deletions

View File

@ -103,6 +103,7 @@ minetest.register_craft({
}
})
if mobs and mobs.redo then
-- Leather backpack
minetest.register_node("backpacks:backpack_leather", {
description = "Leather Backpack",
@ -146,3 +147,4 @@ minetest.register_craft({
{"mobs:leather", "mobs:leather", "mobs:leather"},
}
})
end