summaryrefslogtreecommitdiff
path: root/soil.lua
diff options
context:
space:
mode:
Diffstat (limited to 'soil.lua')
-rw-r--r--soil.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/soil.lua b/soil.lua
index 2b8c6b2..0b4844a 100644
--- a/soil.lua
+++ b/soil.lua
@@ -60,7 +60,7 @@ minetest.register_abm({
elseif node.name == "farming:soil_wet" then
minetest.set_node(pos, {name = "farming:soil"})
- elseif node.name == "farming:soil" then
+ elseif node.name == "farming:soil" and minetest.get_item_group(nn, "plant") == 0 then
minetest.set_node(pos, {name = "default:dirt"})
end
end,