This commit is contained in:
Elias Fleckenstein 2021-01-03 14:26:05 +01:00
parent 30379c823c
commit 6cc029a6e4

View file

@ -1109,6 +1109,10 @@ if progressive_mode then
local name = player:get_player_name() local name = player:get_player_name()
local data = player_data[name] local data = player_data[name]
if not data or not data.inv_items then
return
end
meta:set_string("inv_items", serialize(data.inv_items)) meta:set_string("inv_items", serialize(data.inv_items))
end end