patch
This commit is contained in:
parent
d74a3f97c8
commit
b0e4f442d5
@ -109,9 +109,11 @@ dropbackpack = function(player)
|
|||||||
pack.owner = nil
|
pack.owner = nil
|
||||||
obj:set_detach()
|
obj:set_detach()
|
||||||
local addnewentity = rezEntity(nil, pos, player, pack.contents)
|
local addnewentity = rezEntity(nil, pos, player, pack.contents)
|
||||||
if obj:remove() then addnewentity() end
|
if obj:remove() then
|
||||||
|
addnewentity()
|
||||||
|
end
|
||||||
player_backpack[name] = nil
|
player_backpack[name] = nil
|
||||||
end, player)
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_on_leaveplayer(function(player)
|
minetest.register_on_leaveplayer(function(player)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user