Hello! I have a question about saving a player's inventory. I'm creating a character system where each character would have their own inventory and on switch the inventory would be set to that character's. Everything is currently being saved into a data yml file.
I tried using inventory.list_contents but that only returned the item IDs (wooden_axe). I want to be able to save the items fully (custom names, lore, enchantments, etc).