From 6bd1f13061e5565f352688474ffbf90a05c564df Mon Sep 17 00:00:00 2001 From: Sokomine Date: Thu, 22 Oct 2015 22:14:47 +0200 Subject: [PATCH] if moreblocks is installed, moreblocks:slab_wood will be used instead of stairs:slab_wood --- adaptions.lua | 4 ++++ depends.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/adaptions.lua b/adaptions.lua index b6c672a..4c93818 100644 --- a/adaptions.lua +++ b/adaptions.lua @@ -93,6 +93,10 @@ if( not( minetest.registered_nodes["default:tree"])) then end end +if( minetest.get_modpath("moreblocks")) then + and minetest.registered_nodes( "moreblocks:slab_wood" ); +end + if( not( minetest.registered_nodes["wool:white"])) then cottages.craftitem_wool = "cottages:wool"; end diff --git a/depends.txt b/depends.txt index 1afb80e..e10338b 100644 --- a/depends.txt +++ b/depends.txt @@ -5,3 +5,4 @@ homedecor? intllib? trees? wool? +moreblocks?