mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix no_texture.png for unknown nodes with ID < 125 (#12329)
This commit is contained in:
@@ -539,7 +539,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
inline const ContentFeatures& get(content_t c) const {
|
inline const ContentFeatures& get(content_t c) const {
|
||||||
return
|
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];
|
m_content_features[c] : m_content_features[CONTENT_UNKNOWN];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user