mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-23 18:45:17 +01:00
Deaths were counted twice if team deaths were counted.
Fixes https://github.com/BentoBoxWorld/Level/issues/216
This commit is contained in:
parent
f2b3903c6f
commit
fdf5da43c6
@ -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
|
// 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(),() -> {
|
Bukkit.getScheduler().runTask(addon.getPlugin(),() -> {
|
||||||
// Deal with any stacked blocks
|
// Deal with any stacked blocks
|
||||||
|
Loading…
Reference in New Issue
Block a user