mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 08:08:47 -05:00
Log non-fatal mod name conflict to actionstream instead of errorstream
This commit is contained in:
parent
e57dc4ef18
commit
4a9fe1a1d5
@ -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…
Reference in New Issue
Block a user