mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-22 07:22:18 +00:00
Some minor code cleanup (#1262)
This commit is contained in:
1 parent
f96518b8e4
commit
ee2de3cff1
8 files changed
+13
-17
No files matched your search
@@ -116,10 +116,10 @@ public class MigrationBPermissions extends SubCommand<Object> {
|
||||
return CommandResult.FAILURE;
|
||||
}
|
||||
AtomicInteger userLoadCount = new AtomicInteger(0);
|
||||
users.forEach(s -> {
|
||||
world.loadOne(s, CalculableType.USER);
|
||||
for (String user : users) {
|
||||
world.loadOne(user, CalculableType.USER);
|
||||
log.logProgress("Forcefully loaded {} users so far.", userLoadCount.incrementAndGet());
|
||||
});
|
||||
}
|
||||
}
|
||||
log.log("Forcefully loaded all users.");
|
||||
|
||||
|
||||
Reference in new issue
Block a user