update the mobs redo check

master
Tai 2017-07-12 12:08:11 +01:00
parent d53ef589bd
commit 05cdbec45c
1 changed files with 2 additions and 1 deletions

View File

@ -168,7 +168,8 @@ minetest.register_node("backpacks:backpack_leather", {
on_dig = backpacks.on_dig,
allow_metadata_inventory_put = backpacks.allow_metadata_inventory_put,
})
if minetest.get_modpath("mobs") and mobs and mobs.redo then
if mobs and ( mobs.redo or mobs.mod == 'redo') then
minetest.register_craft({
output = "backpacks:backpack_leather",
recipe = {