mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-19 14:19:11 +00:00
don't unload sponge data when a player quits
This commit is contained in:
1 file changed
-5
@@ -116,11 +116,6 @@ public class SpongeListener extends AbstractListener {
|
||||
try (Timing ignored = plugin.getTimings().time(LPTiming.ON_CLIENT_LEAVE)) {
|
||||
final UuidCache cache = plugin.getUuidCache();
|
||||
|
||||
final User user = plugin.getUserManager().get(cache.getUUID(e.getTargetEntity().getUniqueId()));
|
||||
if (user != null) {
|
||||
user.unregisterData();
|
||||
}
|
||||
|
||||
// Unload the user from memory when they disconnect;
|
||||
cache.clearCache(e.getTargetEntity().getUniqueId());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user