Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ function farming.place_seed(itemstack, placer, pointed_thing, plantname)

-- add the node and remove 1 item from the itemstack
minetest.add_node(pt.above, {name=plantname, param2 = 1})
if not minetest.setting_getbool("creative_mode") then
if not minetest.settings:get_bool("creative_mode") then
itemstack:take_item()
end
return itemstack
Expand Down