1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-11 03:45:01 -05: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:
Yutao Yuan 2016-06-14 06:29:15 +08:00 committed by est31
parent a39d536282
commit 1b8dbf072a

View File

@ -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;