funkemunky / AntiVPN

An antivpn utilizing the funkemunky API
Apache License 2.0
21 stars 8 forks source link

attempted fix of wrong alert state #16

Closed Kek5chen closed 2 years ago

Kek5chen commented 2 years ago

## 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.

Kek5chen commented 2 years ago

Fixes Issue #14