1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Add node definitions in Lua and do not use content_mapnode_init anymore (except in test.cpp)

This commit is contained in:
Kahrl 2011-11-26 00:09:36 +02:00 committed by Perttu Ahola
parent 1f53ca5f4c
commit c1479a2732
9 changed files with 452 additions and 40 deletions

View file

@ -1021,9 +1021,6 @@ Server::Server(
infostream<<"m_nodedef="<<m_nodedef<<std::endl;
// Initialize default node definitions
content_mapnode_init(m_nodedef);
// Path to builtin.lua
std::string builtinpath = porting::path_data + DIR_DELIM + "builtin.lua";
// Add default global mod path