From: An0n3m0us Date: Mon, 10 Feb 2020 21:00:40 +0000 (+0000) Subject: Add log for seeds on place X-Git-Tag: 5.2.0~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=232cc2bd1ce27de4ebbcf4163ccfdc0bb46e6de6;p=oweals%2Fminetest_game.git Add log for seeds on place --- 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