Skip to content
Snippets Groups Projects
Commit d4a2e237 authored by SmallJoker's avatar SmallJoker Committed by paramat
Browse files

Textures: Ignore unknown node in override.txt

parent 0a16e53b
No related branches found
No related tags found
No related merge requests found
...@@ -1144,13 +1144,8 @@ void CNodeDefManager::applyTextureOverrides(const std::string &override_filepath ...@@ -1144,13 +1144,8 @@ void CNodeDefManager::applyTextureOverrides(const std::string &override_filepath
} }
content_t id; content_t id;
if (!getId(splitted[0], id)) { if (!getId(splitted[0], id))
infostream << override_filepath continue; // Ignore unknown node
<< ":" << line_c << " Could not apply texture override \""
<< line << "\": Unknown node \""
<< splitted[0] << "\"" << std::endl;
continue;
}
ContentFeatures &nodedef = m_content_features[id]; ContentFeatures &nodedef = m_content_features[id];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment