mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-04-03 21:02:31 +02:00
Fix #931
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user