mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 22:27:32 +00:00
Fix Cache not clearing on PlayerDataRemove request
This commit is contained in:
1 parent
7fbcbf60de
commit
fd52715384
2 files changed
+12
-4
No files matched your search
@@ -260,6 +260,12 @@ public class PlayerDataController {
|
||||
}
|
||||
}
|
||||
|
||||
public void removePlayerDataCache(final String uuid) {
|
||||
synchronized (playerDataCache) {
|
||||
playerDataCache.remove(uuid);
|
||||
}
|
||||
}
|
||||
|
||||
public void clearCache() {
|
||||
synchronized (playerDataCache) {
|
||||
playerDataCache.clear();
|
||||
|
||||
Reference in new issue
Block a user