From 93fdfdd0bb2466652b3eb843b4ac0936e9d8361d Mon Sep 17 00:00:00 2001 From: Sokomine Date: Fri, 23 Oct 2015 06:39:29 +0200 Subject: [PATCH] use wooden slab from moreblocks if available --- adaptions.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/adaptions.lua b/adaptions.lua index 4c93818..24782cd 100644 --- a/adaptions.lua +++ b/adaptions.lua @@ -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