Logic issue.
This commit is contained in:
BONNe 2020-05-07 00:19:21 +03:00
parent 8d5514325c
commit d11226d504

View File

@ -1526,7 +1526,7 @@ public class ChallengesManager
LevelStatus lastStatus = null;
for (Iterator<LevelStatus> statusIterator = this.getAllChallengeLevelStatus(user, world).iterator();
statusIterator.hasNext() && (lastStatus == null || !lastStatus.isUnlocked());)
statusIterator.hasNext() && (lastStatus == null || lastStatus.isUnlocked());)
{
lastStatus = statusIterator.next();
}