Remove creation of builtin.lua defined minetest.registered_* tables in C

This commit is contained in:
Perttu Ahola 2011-11-28 01:20:48 +02:00
parent 6029d9e5a9
commit 8924588511

@ -1420,20 +1420,6 @@ void scriptapi_export(lua_State *L, Server *server)
lua_setfield(L, -2, "registered_nodes"); lua_setfield(L, -2, "registered_nodes");
lua_newtable(L); lua_newtable(L);
lua_setfield(L, -2, "registered_entities"); 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_newtable(L);
lua_setfield(L, -2, "object_refs"); lua_setfield(L, -2, "object_refs");