mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 08:03:45 +01:00
Fix itemdef drop on NULL texture
This commit is contained in:
parent
d7395cd2ab
commit
c824abd7b2
@ -247,7 +247,8 @@ public:
|
||||
i = values.begin(); i != values.end(); ++i)
|
||||
{
|
||||
ClientCached *cc = *i;
|
||||
cc->wield_mesh->drop();
|
||||
if (cc->wield_mesh)
|
||||
cc->wield_mesh->drop();
|
||||
delete cc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user