mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
unset item list when dropping inv
This commit is contained in:
parent
d202db00b7
commit
b3c34bd081
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ local function drop_inv(ent)
|
|||
local p = vector.add(pos,vector.new(math.random() - 0.5, math.random()-0.5, math.random()-0.5))
|
||||
minetest.add_item(p,it)
|
||||
end
|
||||
ent._items = nil
|
||||
end
|
||||
|
||||
local function on_remove(self,killer,oldf)
|
||||
|
|
Loading…
Reference in a new issue