From 4e33df1927d6aef826261002fa987eede3b4e38f Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 9 Nov 2019 20:51:41 -0800 Subject: [PATCH] Added forced chunk loading back in. --- .../java/world/bentobox/level/calculators/CalcIslandLevel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/world/bentobox/level/calculators/CalcIslandLevel.java b/src/main/java/world/bentobox/level/calculators/CalcIslandLevel.java index 60a07fc..9c611d4 100644 --- a/src/main/java/world/bentobox/level/calculators/CalcIslandLevel.java +++ b/src/main/java/world/bentobox/level/calculators/CalcIslandLevel.java @@ -104,6 +104,7 @@ public class CalcIslandLevel { Pair pair = it.next(); for (World worldToScan : worlds) { if (!worldToScan.isChunkLoaded(pair.x, pair.z)) { + worldToScan.loadChunk(pair.x, pair.z); chunkSnapshot.add(worldToScan.getChunkAt(pair.x, pair.z).getChunkSnapshot()); worldToScan.unloadChunk(pair.x, pair.z, false); } else {