Remove creation of builtin.lua defined minetest.registered_* tables in C
authorPerttu Ahola <celeron55@gmail.com>
Sun, 27 Nov 2011 23:20:48 +0000 (01:20 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 29 Nov 2011 17:13:56 +0000 (19:13 +0200)
src/scriptapi.cpp

index a91122543447c0ff26173eb0d045bfce34e5ee9f..4a162a9b93b373ac8fb06920b3e2a61286038ffe 100644 (file)
@@ -1420,20 +1420,6 @@ void scriptapi_export(lua_State *L, Server *server)
        lua_setfield(L, -2, "registered_nodes");
        lua_newtable(L);
        lua_setfield(L, -2, "registered_entities");
-       lua_newtable(L);
-       lua_setfield(L, -2, "registered_globalsteps");
-       lua_newtable(L);
-       lua_setfield(L, -2, "registered_on_placenodes");
-       lua_newtable(L);
-       lua_setfield(L, -2, "registered_on_dignodes");
-       lua_newtable(L);
-       lua_setfield(L, -2, "registered_on_punchnodes");
-       lua_newtable(L);
-       lua_setfield(L, -2, "registered_on_generateds");
-       lua_newtable(L);
-       lua_setfield(L, -2, "registered_on_newplayers");
-       lua_newtable(L);
-       lua_setfield(L, -2, "registered_on_respawnplayers");
        
        lua_newtable(L);
        lua_setfield(L, -2, "object_refs");