mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Move unknown node message when applying texture overrides to infostream (#4218)
Texture packs have no way to know what nodes are available, so this shouldn't be a error message.
This commit is contained in:
parent
a39d536282
commit
1b8dbf072a
@ -1107,7 +1107,7 @@ void CNodeDefManager::applyTextureOverrides(const std::string &override_filepath
|
|||||||
|
|
||||||
content_t id;
|
content_t id;
|
||||||
if (!getId(splitted[0], id)) {
|
if (!getId(splitted[0], id)) {
|
||||||
errorstream << override_filepath
|
infostream << override_filepath
|
||||||
<< ":" << line_c << " Could not apply texture override \""
|
<< ":" << line_c << " Could not apply texture override \""
|
||||||
<< line << "\": Unknown node \""
|
<< line << "\": Unknown node \""
|
||||||
<< splitted[0] << "\"" << std::endl;
|
<< splitted[0] << "\"" << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user