parent
66f64ec59e
commit
2b68d831eb
2
bags.lua
2
bags.lua
|
@ -120,8 +120,8 @@ local function save_bags_metadata(player, bags_inv)
|
||||||
is_empty = false
|
is_empty = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
local meta = player:get_meta()
|
||||||
if is_empty then
|
if is_empty then
|
||||||
local meta = player:get_meta()
|
|
||||||
meta:set_string("unified_inventory:bags", nil)
|
meta:set_string("unified_inventory:bags", nil)
|
||||||
else
|
else
|
||||||
meta:set_string("unified_inventory:bags",
|
meta:set_string("unified_inventory:bags",
|
||||||
|
|
Loading…
Reference in New Issue