mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Log non-fatal mod name conflict to actionstream instead of errorstream
This commit is contained in:
parent
e57dc4ef18
commit
4a9fe1a1d5
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ void ModConfiguration::addMods(std::vector<ModSpec> new_mods)
|
||||||
// BAD CASE: name conflict in different levels.
|
// BAD CASE: name conflict in different levels.
|
||||||
u32 oldindex = existing_mods[mod.name];
|
u32 oldindex = existing_mods[mod.name];
|
||||||
const ModSpec &oldmod = m_unsatisfied_mods[oldindex];
|
const ModSpec &oldmod = m_unsatisfied_mods[oldindex];
|
||||||
errorstream<<"WARNING: Mod name conflict detected: \""
|
actionstream<<"WARNING: Mod name conflict detected: \""
|
||||||
<<mod.name<<"\""<<std::endl
|
<<mod.name<<"\""<<std::endl
|
||||||
<<"Will not load: "<<oldmod.path<<std::endl
|
<<"Will not load: "<<oldmod.path<<std::endl
|
||||||
<<"Overridden by: "<<mod.path<<std::endl;
|
<<"Overridden by: "<<mod.path<<std::endl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue