diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-09-16 14:52:10 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-09-16 14:52:10 +0100 |
commit | 2f5ac4c7caeea0202c41a3e840cd441660ea741e (patch) | |
tree | f1fd08d1831f788eb11b2dcaaf9ba6e37c90b3c5 /init.lua | |
parent | a14fc6f3ad0a802dd7e6da71da06cba37a9fb23b (diff) |
Changed deprecated add_node to set_node
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -458,7 +458,7 @@ function farming.place_seed(itemstack, placer, pointed_thing, plantname) -- if not protected then add node and remove 1 item from the itemstack if not minetest.is_protected(pt.above, placer:get_player_name()) then - minetest.add_node(pt.above, {name = plantname, param2 = 1}) + minetest.set_node(pt.above, {name = plantname, param2 = 1}) if not minetest.setting_getbool("creative_mode") then itemstack:take_item() -- check for refill |