From fdf5da43c6437a9ab9ccfb5958be1c915e79f8a0 Mon Sep 17 00:00:00 2001 From: tastybento Date: Wed, 24 Mar 2021 22:37:50 -0700 Subject: [PATCH] Deaths were counted twice if team deaths were counted. Fixes https://github.com/BentoBoxWorld/Level/issues/216 --- .../bentobox/level/calculators/IslandLevelCalculator.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/world/bentobox/level/calculators/IslandLevelCalculator.java b/src/main/java/world/bentobox/level/calculators/IslandLevelCalculator.java index 253b997..8a5a0c9 100644 --- a/src/main/java/world/bentobox/level/calculators/IslandLevelCalculator.java +++ b/src/main/java/world/bentobox/level/calculators/IslandLevelCalculator.java @@ -401,11 +401,6 @@ public class IslandLevelCalculator { } } } - // 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