Improve inventory storage disconnect
Closed this issue · 2 comments
GregHib commented
There's a disconnect between inventories.inventories[name]
and inventories.inventory(name).items
as StateManager
changes the underlying data
array
GregHib commented
I've updated PlayerSave
so it now correctly saves the latest, but this is not a great solution and could potentially be exploitable
GregHib commented
Room for improvement but good enough for now.