diff --git a/mods/fl_agriculture/crops/carrot.lua b/mods/fl_agriculture/crops/carrot.lua index 7573930..56150b8 100644 --- a/mods/fl_agriculture/crops/carrot.lua +++ b/mods/fl_agriculture/crops/carrot.lua @@ -12,7 +12,7 @@ minetest.register_craftitem("fl_agriculture:carrot", { if not minetest.registered_nodes[anode.name] then return end if minetest.get_item_group(node.name, "plantable") ~= 1 then return end if minetest.registered_nodes[anode.name].drawtype ~= "airlike" then return end - minetest.place_node({x=pos.x, y=pos.y+1,z=pos.z}, {name = "fl_agriculture:carrot_1"}) + minetest.set_node({x=pos.x, y=pos.y+1,z=pos.z}, {name = "fl_agriculture:carrot_1", param2 = 3}) itemstack:take_item() return itemstack end, diff --git a/mods/fl_agriculture/crops/potato.lua b/mods/fl_agriculture/crops/potato.lua index b85fc69..1f88731 100644 --- a/mods/fl_agriculture/crops/potato.lua +++ b/mods/fl_agriculture/crops/potato.lua @@ -12,7 +12,7 @@ minetest.register_craftitem("fl_agriculture:potato", { if not minetest.registered_nodes[anode.name] then return end if minetest.get_item_group(node.name, "plantable") ~= 1 then return end if minetest.registered_nodes[anode.name].drawtype ~= "airlike" then return end - minetest.place_node({x=pos.x, y=pos.y+1,z=pos.z}, {name = "fl_agriculture:potato_1"}) + minetest.set_node({x=pos.x, y=pos.y+1,z=pos.z}, {name = "fl_agriculture:potato_1", param2 = 3}) itemstack:take_item() return itemstack end,