From adc99333fbd7fedeacc2fab097528f1a4f8b8e8b Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Sun, 14 Dec 2014 23:41:07 +0100 Subject: [PATCH] Partially-merge Don't dry out soil if unloaded blocks are nearby --- mods/farming/soil.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/farming/soil.lua b/mods/farming/soil.lua index 494be942..ace58db3 100755 --- a/mods/farming/soil.lua +++ b/mods/farming/soil.lua @@ -45,7 +45,8 @@ minetest.register_abm({ end -- check if there is water nearby and change soil accordingly - if minetest.find_node_near(pos, 3, {"group:water"}) then + if minetest.find_node_near(pos, 3, {"group:water"}) and + minetest.find_node_near(pos, 3, {"ignore"}) then if node.name == "farming:soil" then minetest.set_node(pos, {name="farming:soil_wet"}) end