From: Perttu Ahola Date: Sat, 26 Nov 2011 01:22:54 +0000 (+0200) Subject: remove get_nodedef X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=f93144fee7093d19eb7f99bbb5068ab2e704c8ed;p=zefram%2Fminetest%2Fminetest_engine.git remove get_nodedef --- diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index fd9d1019..03bdd3a7 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -789,12 +789,6 @@ static int l_register_craft(lua_State *L) return 0; /* number of results */ } -// get_nodedef(name) -static int l_get_nodedef(lua_State *L) -{ - return 1; -} - static int register_lua_callback(lua_State *L, const char *tablename) { luaL_checktype(L, 1, LUA_TFUNCTION); @@ -873,7 +867,6 @@ static const struct luaL_Reg minetest_f [] = { {"register_on_punchnode", l_register_on_punchnode}, {"register_on_newplayer", l_register_on_newplayer}, {"register_on_respawnplayer", l_register_on_respawnplayer}, - {"get_nodedef", l_get_nodedef}, {NULL, NULL} };