mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Fix crash delete item entity with empty itemstring
This commit is contained in:
parent
09ee912096
commit
e361b35724
1 changed files with 1 additions and 0 deletions
|
@ -519,6 +519,7 @@ minetest.register_entity(":__builtin:item", {
|
|||
minetest.log("warning", "Item entity with empty itemstring found at "..minetest.pos_to_string(self.object:get_pos()).. "! Deleting it now.")
|
||||
self._removed = true
|
||||
self.object:remove()
|
||||
return
|
||||
end
|
||||
|
||||
local p = self.object:get_pos()
|
||||
|
|
Loading…
Reference in a new issue