When using the GroundItemManager class's to_array/from_array, from_array does not prevent duplicate items (or clear it's existing items).
I noticed that inventories do prevent duplicates, so I didn't encounter an issue in my use-case (multiplayer serialization) until I implemented a ground item manager.
Hello!
When using the GroundItemManager class's to_array/from_array, from_array does not prevent duplicate items (or clear it's existing items).
I noticed that inventories do prevent duplicates, so I didn't encounter an issue in my use-case (multiplayer serialization) until I implemented a ground item manager.