mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix itemdef drop on NULL texture
This commit is contained in:
@@ -247,7 +247,8 @@ public:
|
|||||||
i = values.begin(); i != values.end(); ++i)
|
i = values.begin(); i != values.end(); ++i)
|
||||||
{
|
{
|
||||||
ClientCached *cc = *i;
|
ClientCached *cc = *i;
|
||||||
cc->wield_mesh->drop();
|
if (cc->wield_mesh)
|
||||||
|
cc->wield_mesh->drop();
|
||||||
delete cc;
|
delete cc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user