fixed copy-pasted name in farming

This commit is contained in:
kaadmy 2015-10-18 10:58:03 -07:00
parent bfc9d084dd
commit 7603be64d8
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ function farming.register_plant(name, plant)
local underdef = minetest.registered_nodes[minetest.get_node({x = pos.x, y = pos.y-1, z = pos.z}).name]
if under.groups and under.groups.plantable_fertilizer then
if underdef.groups and underdef.groups.plantable_fertilizer then
print("Fertilizer!")
farming.grow_plant(pos, name, plant)
end