[farming] Remove redundant code

This commit is contained in:
LeMagnesium 2016-06-29 17:24:00 +02:00
parent 93139c8db7
commit a78ffd7ffb
1 changed files with 0 additions and 5 deletions

View File

@ -540,11 +540,6 @@ function farming.place_seed(itemstack, placer, pointed_thing, plantname)
local under = minetest.get_node(pt.under)
local above = minetest.get_node(pt.above)
-- check if pointing at the top of the node
if pt.above.y ~= pt.under.y + 1 then
return
end
-- return if any of the nodes is not registered
if not minetest.registered_nodes[under.name]
or not minetest.registered_nodes[above.name] then