mirror of https://github.com/minetest/minetest.git
Fix bug in get_all_craft_recipes
This commit is contained in:
parent
6e4fdf37ba
commit
5aaa9f281f
|
@ -417,7 +417,7 @@ int l_get_all_craft_recipes(lua_State *L)
|
|||
lua_pushvalue(L, table_insert);
|
||||
lua_pushvalue(L, table);
|
||||
lua_newtable(L);
|
||||
int k = 0;
|
||||
int k = 1;
|
||||
lua_newtable(L);
|
||||
for(std::vector<ItemStack>::const_iterator
|
||||
i = input.items.begin();
|
||||
|
|
Loading…
Reference in New Issue