I'm writing a random loot chest plugin. The plugin will spawn loot inside of chests based on what's in the config file. I can set a chest to spawn loot. I'm setting the inventory in an ArrayList. The only problem is when the server reloads or restarts the ArrayList is empty. How can I keep the inventories of the chests I set as LootChests in the ArrayList when reloading? When I try saving the list to the config it doesn't seem to work when trying to save Inventories. Any way around this?