do not accept nodeboxes as natural ground
parent
5e6d0323c4
commit
abb9e3cb71
|
@ -95,7 +95,7 @@ mg_villages.check_if_ground = function( ci )
|
||||||
mg_villages.node_is_ground[ ci ] = false;
|
mg_villages.node_is_ground[ ci ] = false;
|
||||||
elseif( def.drop and def.drop == 'default:dirt') then
|
elseif( def.drop and def.drop == 'default:dirt') then
|
||||||
mg_villages.node_is_ground[ ci ] = true;
|
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;
|
mg_villages.node_is_ground[ ci ] = true;
|
||||||
else
|
else
|
||||||
mg_villages.node_is_ground[ ci ] = false;
|
mg_villages.node_is_ground[ ci ] = false;
|
||||||
|
|
Loading…
Reference in New Issue