mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-25 08:44:21 +00:00
Change users being updated async and refactor update task
This commit is contained in:
1 parent
00c3a8b415
commit
484bc44288
9 files changed
+51
-54
No files matched your search
@@ -41,4 +41,11 @@ public class BungeeUserManager extends UserManager {
|
||||
public User makeUser(UUID uuid, String username) {
|
||||
return new BungeeUser(uuid, username, plugin);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateAllUsers() {
|
||||
for (ProxiedPlayer p : plugin.getProxy().getPlayers()) {
|
||||
plugin.getDatastore().loadUser(p.getUniqueId());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user