1
0
mirror of https://github.com/Sokomine/cottages.git synced 2024-12-27 11:10:36 +01:00

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

View File

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