Skip to content

Commit

Permalink
this should be break, not continue
Browse files Browse the repository at this point in the history
  • Loading branch information
granny authored Feb 9, 2024
1 parent 2a106f0 commit b679f27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ private void run() {
try {
while (!this.ticketsToScan.isEmpty()) {
Ticket ticket = this.ticketsToScan.poll();
if (ticket == null) break;
if (ticket == null) continue;

Collection<Point> set = this.regionsToScan.getOrDefault(ticket.world, new HashSet<>());
set.add(ticket.region);
Expand Down

0 comments on commit b679f27

Please sign in to comment.