Some minor code cleanup (#1262)

This commit is contained in:
MrMicky authored and Luck committed 2018-10-09 18:00:53 +01:00
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.");