1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-17 14:55:13 -05:00

Fix typo in scriptapi.cpp in minetest.get_craft_recipe()

This commit is contained in:
Perttu Ahola 2012-07-21 15:32:46 +03:00
parent 2795f44f03
commit 15bf9a7026

View File

@ -4593,7 +4593,7 @@ static int l_get_craft_recipe(lua_State *L)
setintfield(L, -1, "width", input.width); setintfield(L, -1, "width", input.width);
switch (input.method) { switch (input.method) {
case CRAFT_METHOD_NORMAL: case CRAFT_METHOD_NORMAL:
lua_pushstring(L,"noraml"); lua_pushstring(L,"normal");
break; break;
case CRAFT_METHOD_COOKING: case CRAFT_METHOD_COOKING:
lua_pushstring(L,"cooking"); lua_pushstring(L,"cooking");