Fix typo in scriptapi.cpp in minetest.get_craft_recipe()
authorPerttu Ahola <celeron55@gmail.com>
Sat, 21 Jul 2012 12:32:46 +0000 (15:32 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 21 Jul 2012 12:32:46 +0000 (15:32 +0300)
src/scriptapi.cpp

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