From 232cc2bd1ce27de4ebbcf4163ccfdc0bb46e6de6 Mon Sep 17 00:00:00 2001 From: An0n3m0us Date: Mon, 10 Feb 2020 21:00:40 +0000 Subject: [PATCH] Add log for seeds on place --- mods/farming/api.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/farming/api.lua b/mods/farming/api.lua index 4a482fac..91d557c7 100644 --- a/mods/farming/api.lua +++ b/mods/farming/api.lua @@ -177,6 +177,8 @@ farming.place_seed = function(itemstack, placer, pointed_thing, plantname) end -- add the node and remove 1 item from the itemstack + minetest.log("action", player_name .. " places node " .. plantname .. " at " .. + minetest.pos_to_string(pt.above)) minetest.add_node(pt.above, {name = plantname, param2 = 1}) tick(pt.above) if not (creative and creative.is_enabled_for -- 2.25.1