Posted October 30, 2023 by Limekys
The chest contents are constantly changing and, specifically in my case, we can get them only by converting them into a string, and this can be done correctly only before saving, so I put the converted string into a new variable in the registerSaveFunction() function so that just before saving it was converted into a string and the new variable was registered for saving and this new variable will be saved and loaded in the future. And after loading we need to convert the string back to the contents of the chest, for this we put it into the registerLoadFunction() function, which I introduced in version 2.1
Update Recommendations:
Updated resources: