mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-05 10:00:26 +01:00
Fixed bug when creating and passing detached inventory object
This commit is contained in:
parent
33a093263b
commit
1d85364834
|
@ -31,6 +31,7 @@ pclasses.api.create_graveyard_inventory = function(player)
|
||||||
local stack = player_inv:get_stack("graveyard", i)
|
local stack = player_inv:get_stack("graveyard", i)
|
||||||
grave_inv:set_stack("graveyard", i, stack)
|
grave_inv:set_stack("graveyard", i, stack)
|
||||||
end
|
end
|
||||||
|
return grave_inv
|
||||||
end
|
end
|
||||||
|
|
||||||
unified_inventory.register_button("graveyard", {
|
unified_inventory.register_button("graveyard", {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user