diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-01-04 09:50:03 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-01-04 09:50:03 +0000 |
commit | 271c17180e2ec98a8c1981bb5f18070f990ce846 (patch) | |
tree | 9119de1c1b07c5cf82bd65cdc49bfd4b32d548fa /soil.lua | |
parent | 4b4a52b8d5b4fe2ae73a7b64c2f337da9eb96715 (diff) |
soil wont change into dirt if plant above
Diffstat (limited to 'soil.lua')
-rw-r--r-- | soil.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |