mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-22 06:12:18 +00:00
Fixes for offline mode servers
This commit is contained in:
7 files changed
+42
-30
No files matched your search
@@ -69,11 +69,11 @@ public class AbstractListener {
|
||||
protected void onLeave(UUID uuid) {
|
||||
final UuidCache cache = plugin.getUuidCache();
|
||||
|
||||
// Unload the user from memory when they disconnect;
|
||||
cache.clearCache(uuid);
|
||||
|
||||
final User user = plugin.getUserManager().get(cache.getUUID(uuid));
|
||||
plugin.getUserManager().unload(user);
|
||||
|
||||
// Unload the user from memory when they disconnect;
|
||||
cache.clearCache(uuid);
|
||||
}
|
||||
|
||||
protected void refreshPlayer(UUID uuid) {
|
||||
|
||||
Reference in new issue
Block a user