Forgot to add that function before. 😋
This commit is contained in:
Panquesito7 2019-06-16 01:14:35 -05:00 committed by GitHub
parent 66f64ec59e
commit 2b68d831eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -120,8 +120,8 @@ local function save_bags_metadata(player, bags_inv)
is_empty = false
end
end
local meta = player:get_meta()
if is_empty then
local meta = player:get_meta()
meta:set_string("unified_inventory:bags", nil)
else
meta:set_string("unified_inventory:bags",