mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Fix no_texture.png for unknown nodes with ID < 125 (#12329)
This commit is contained in:
parent
c660218e43
commit
0f9c78c3eb
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ public:
|
|||
*/
|
||||
inline const ContentFeatures& get(content_t c) const {
|
||||
return
|
||||
c < m_content_features.size() ?
|
||||
(c < m_content_features.size() && !m_content_features[c].name.empty()) ?
|
||||
m_content_features[c] : m_content_features[CONTENT_UNKNOWN];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue