Skip to content

Commit

Permalink
Deaths were counted twice if team deaths were counted.
Browse files Browse the repository at this point in the history
Fixes #216
  • Loading branch information
tastybento committed Mar 25, 2021
1 parent f2b3903 commit fdf5da4
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,11 +401,6 @@ private void scanAsync(CompletableFuture<Boolean> result, ChunkSnapshot chunkSna
}
}
}
// Chunk finished
if (chunk.getWorld().getEnvironment().equals(Environment.NORMAL) && chunksToCheck.isEmpty()) {
// This was the last chunk
tidyUp();
}
// Complete the future - this must go back onto the primary thread to exit async otherwise subsequent actions will be async
Bukkit.getScheduler().runTask(addon.getPlugin(),() -> {
// Deal with any stacked blocks
Expand Down

0 comments on commit fdf5da4

Please sign in to comment.