Also fix deserialization

This commit is contained in:
SmallJoker 2019-08-11 20:58:24 +02:00
parent d1bed76864
commit ef75690cab

@ -14,6 +14,9 @@ function upgrade_packs.meta_to_inv(player)
minetest.log("warning", "[upgrade_packs] Failed to deserialize "
.. "player meta of player " .. player:get_player_name())
else
for i, v in ipairs(list) do
list[i] = ItemStack(v)
end
inv:set_list("ugpacks", list)
end
meta:set_string("upgrade_packs:ugpacks", "")