Mirror von
https://github.com/luanti-org/luanti.git
synchronisiert 2026-01-06 17:32:15 +01:00
Fix crash on wielditem/item entities
bug was introduced in f3032a637c
Dieser Commit ist enthalten in:
@@ -829,7 +829,8 @@ void GenericCAO::setNodeLight(u8 light)
|
||||
if (m_prop.visual == "wielditem" || m_prop.visual == "item") {
|
||||
// Since these types of visuals are using their own shader
|
||||
// they should be handled separately
|
||||
m_wield_meshnode->setColor(color);
|
||||
if (m_wield_meshnode)
|
||||
m_wield_meshnode->setColor(color);
|
||||
} else if (m_enable_shaders) {
|
||||
scene::ISceneNode *node = getSceneNode();
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren