More console spam reduction for database operations

This commit is contained in:
nossr50
2021-03-12 16:37:21 -08:00
parent 4a048b47cb
commit 75db0af01d
4 changed files with 4 additions and 7 deletions

View File

@ -99,7 +99,7 @@ public class UUIDUpdateAsyncTask implements Runnable {
position += batch.size();
plugin.getLogger().info(String.format("Conversion progress: %d/%d users", position, userNames.size()));
if (position == userNames.size()) {
if (position +1 >= userNames.size()) {
mcMMO.getUpgradeManager().setUpgradeCompleted(UpgradeType.ADD_UUIDS);
awaiter.countDown();
plugin.getLogger().info("UUID checks completed");