From abb9e3cb71d2b16fb560e829b8561c4fee8b379a Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 6 Oct 2014 18:46:56 +0200 Subject: [PATCH] do not accept nodeboxes as natural ground --- mapgen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapgen.lua b/mapgen.lua index 894fe1b..df34b86 100644 --- a/mapgen.lua +++ b/mapgen.lua @@ -95,7 +95,7 @@ mg_villages.check_if_ground = function( ci ) mg_villages.node_is_ground[ ci ] = false; elseif( def.drop and def.drop == 'default:dirt') then mg_villages.node_is_ground[ ci ] = true; - elseif( def.walkable == true and def.is_ground_content == true ) then + elseif( def.walkable == true and def.is_ground_content == true and not(def.node_box)) then mg_villages.node_is_ground[ ci ] = true; else mg_villages.node_is_ground[ ci ] = false;