mirror of
https://github.com/minetest/minetest.git
synced 2025-02-18 19:03:46 +01:00
Textures: Ignore unknown node in override.txt
This commit is contained in:
@ -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];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user