mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Properly handle mod name conflicts
This commit is contained in:
@@ -881,9 +881,9 @@ Server::Server(
|
||||
std::string builtinpath = porting::path_data + DIR_DELIM + "builtin.lua";
|
||||
|
||||
// Add default global mod search path
|
||||
m_modspaths.push_back(porting::path_data + DIR_DELIM + "mods");
|
||||
m_modspaths.push_front(porting::path_data + DIR_DELIM + "mods");
|
||||
// Add world mod search path
|
||||
m_modspaths.push_back(mapsavedir + DIR_DELIM + "mods");
|
||||
m_modspaths.push_front(mapsavedir + DIR_DELIM + "mods");
|
||||
|
||||
// Initialize scripting
|
||||
|
||||
|
Reference in New Issue
Block a user