mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-11-13 05:40:18 +01:00
parent
fbbf786caf
commit
d1a4396fbe
2
bags.lua
2
bags.lua
|
@ -135,7 +135,7 @@ end
|
|||
local function load_bags_metadata(player, bags_inv)
|
||||
local player_inv = player:get_inventory()
|
||||
local meta = player:get_meta()
|
||||
local bags_meta = meta:get_string("unified_inventory:bags")
|
||||
local bags_meta = meta:get("unified_inventory:bags")
|
||||
local bags = bags_meta and minetest.deserialize(bags_meta) or {}
|
||||
local dirty_meta = false
|
||||
if not bags_meta then
|
||||
|
|
Loading…
Reference in New Issue
Block a user