Move unknown node message when applying texture overrides to infostream (#4218)
authorYutao Yuan <yyt16384@gmail.com>
Mon, 13 Jun 2016 22:29:15 +0000 (06:29 +0800)
committerest31 <est31@users.noreply.github.com>
Mon, 13 Jun 2016 22:29:15 +0000 (00:29 +0200)
Texture packs have no way to know what nodes are available, so this shouldn't be a error message.

src/nodedef.cpp

index 1691289c2cc7efe341f8469a7355a2776237234d..764203efcf4ee9c65119a059e88dc649ce1d16fd 100644 (file)
@@ -1107,7 +1107,7 @@ void CNodeDefManager::applyTextureOverrides(const std::string &override_filepath
 
                content_t id;
                if (!getId(splitted[0], id)) {
-                       errorstream << override_filepath
+                       infostream << override_filepath
                                << ":" << line_c << " Could not apply texture override \""
                                << line << "\": Unknown node \""
                                << splitted[0] << "\"" << std::endl;