## WARNING: This is untested code. Please test it on a test server before proceeding. ##
Fixed the caching to use UUIDs as key and not Player objects. The player objects desyncronize on rejoining the server and therefore have to be replaced by UUIDs. I dont know if the code works, it is only an edit on first sight to highlight the issues possible solution. Please test and refactor the code as needed.
## WARNING: This is untested code. Please test it on a test server before proceeding. ##
Fixed the caching to use UUIDs as key and not Player objects. The player objects desyncronize on rejoining the server and therefore have to be replaced by UUIDs. I dont know if the code works, it is only an edit on first sight to highlight the issues possible solution. Please test and refactor the code as needed.