diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-26 03:22:54 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:53 +0200 |
commit | f93144fee7093d19eb7f99bbb5068ab2e704c8ed (patch) | |
tree | 563c17b666edee5b46283f4447f2d996023b6275 /src | |
parent | 945d01fd9efe93e892a6a2be2467373e3c684300 (diff) | |
download | minetest-f93144fee7093d19eb7f99bbb5068ab2e704c8ed.tar.gz minetest-f93144fee7093d19eb7f99bbb5068ab2e704c8ed.tar.bz2 minetest-f93144fee7093d19eb7f99bbb5068ab2e704c8ed.zip |
remove get_nodedef
Diffstat (limited to 'src')
-rw-r--r-- | src/scriptapi.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index fd9d10195..03bdd3a7d 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} }; |