mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Only schedule a user cleanup when LuckPermsApi#cleanupUser is called
This commit is contained in:
parent
a3d78f4d0e
commit
5b742eb5b2
@ -161,7 +161,7 @@ public class ApiProvider implements LuckPermsApi {
|
||||
|
||||
@Override
|
||||
public void cleanupUser(@NonNull User user) {
|
||||
plugin.getUserManager().cleanup(UserDelegate.cast(user));
|
||||
plugin.getUserManager().scheduleUnload(plugin.getUuidCache().getExternalUUID(UserDelegate.cast(user).getUuid()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user