forked from VoxeLibre/VoxeLibre
unset item list when dropping inv
This commit is contained in:
parent
d202db00b7
commit
b3c34bd081
|
@ -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 New Issue