diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-12-03 18:45:04 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-12-03 18:45:04 +0200 |
commit | 1fe5c58d5690d9e3b776d163785d937baf346769 (patch) | |
tree | 9fcd2e1ef81b6c695d4d567f7391158a7e5ccc02 /src | |
parent | f23616acafc3e1503d594b6e324cb72c325a9567 (diff) | |
download | minetest-1fe5c58d5690d9e3b776d163785d937baf346769.tar.gz minetest-1fe5c58d5690d9e3b776d163785d937baf346769.tar.bz2 minetest-1fe5c58d5690d9e3b776d163785d937baf346769.zip |
Rename cookresult_item to cookresult_itemstring
Diffstat (limited to 'src')
-rw-r--r-- | src/scriptapi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index ab1b3d824..624ca5d85 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -860,7 +860,7 @@ static int l_register_craftitem(lua_State *L) CraftItemDefinition def; getstringfield(L, table, "image", def.imagename); - getstringfield(L, table, "cookresult_item", def.cookresult_item); + getstringfield(L, table, "cookresult_itemstring", def.cookresult_item); getfloatfield(L, table, "furnace_cooktime", def.furnace_cooktime); getfloatfield(L, table, "furnace_burntime", def.furnace_burntime); def.usable = getboolfield_default(L, table, "usable", got_on_use); @@ -1109,7 +1109,7 @@ static int l_register_node(lua_State *L) } lua_pop(L, 1); - getstringfield(L, nodedef_table, "cookresult_item", f.cookresult_item); + getstringfield(L, nodedef_table, "cookresult_itemstring", f.cookresult_item); getfloatfield(L, nodedef_table, "furnace_cooktime", f.furnace_cooktime); getfloatfield(L, nodedef_table, "furnace_burntime", f.furnace_burntime); |