Skip to content

Commit

Permalink
Remove loadchunk from chunk snapshot.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Nov 10, 2019
1 parent 4e33df1 commit e383f79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public CalcIslandLevel(final Level addon, final Island island, final Runnable on
Pair<Integer, Integer> pair = it.next();
for (World worldToScan : worlds) {
if (!worldToScan.isChunkLoaded(pair.x, pair.z)) {
worldToScan.loadChunk(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 {
Expand Down

0 comments on commit e383f79

Please sign in to comment.