Skip to content

Commit 232cc2b

Browse files
authoredFeb 10, 2020
Add log for seeds on place
1 parent db632b6 commit 232cc2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

Diff for: ‎mods/farming/api.lua

+2
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ farming.place_seed = function(itemstack, placer, pointed_thing, plantname)
177177
end
178178

179179
-- add the node and remove 1 item from the itemstack
180+
minetest.log("action", player_name .. " places node " .. plantname .. " at " ..
181+
minetest.pos_to_string(pt.above))
180182
minetest.add_node(pt.above, {name = plantname, param2 = 1})
181183
tick(pt.above)
182184
if not (creative and creative.is_enabled_for

0 commit comments

Comments
 (0)
Please sign in to comment.