use wooden slab from moreblocks if available

This commit is contained in:
Sokomine 2015-10-23 06:39:29 +02:00
parent 6bd1f13061
commit 93fdfdd0bb
1 changed files with 3 additions and 2 deletions

View File

@ -93,8 +93,9 @@ if( not( minetest.registered_nodes["default:tree"])) then
end end
end end
if( minetest.get_modpath("moreblocks")) then if( minetest.get_modpath("moreblocks")
and minetest.registered_nodes( "moreblocks:slab_wood" ); and minetest.registered_nodes[ "moreblocks:slab_wood" ]) then
cottages.craftitem_slab_wood = "moreblocks:slab_wood";
end end
if( not( minetest.registered_nodes["wool:white"])) then if( not( minetest.registered_nodes["wool:white"])) then