mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Run user cleanup task async and not on Storage init
This commit is contained in:
parent
509826949d
commit
fbe9d9f128
@ -109,7 +109,9 @@ public abstract class FlatfileBacking extends AbstractBacking {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
cleanupUsers();
|
||||
// schedule user cleanup
|
||||
plugin.getScheduler().asyncLater(this::cleanupUsers, 10L);
|
||||
|
||||
setAcceptingLogins(true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user