From 5b5f47552cab78cad1c31be84b5db3d384e2bbff Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sun, 23 Aug 2015 23:46:22 +0200 Subject: [PATCH] added moreblocks replacement only in situations where moontest is not installed --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 80c504e..9931d56 100644 --- a/init.lua +++ b/init.lua @@ -59,9 +59,9 @@ if( minetest.get_modpath( 'moon' ) or minetest.get_modpath( 'moonrealm') or mine bild_pfad = "default_steel_block.png"; --"forniture_wood.png"; bild_pfad_s1 = bild_pfad; --"forniture_wood_s1.png"; bild_pfad_s2 = bild_pfad; --"forniture_wood_s2.png"; -end -if( minetest.get_modpath( 'moreblocks' )) then +-- only if no moontest is installed +elseif( minetest.get_modpath( 'moreblocks' )) then WOOD = 'moreblocks:slab_wood'; end