Skip to content

Commit

Permalink
Fix snapshot taking on older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Warriorrrr committed Mar 18, 2024
1 parent 1d81fd2 commit fcbf4ad
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ public static CompletableFuture<PlotBlockData> createPlotSnapshot(final @NotNull
try {
if (GET_CHUNK_SNAPSHOT != null) {
snapshots.add((ChunkSnapshot) GET_CHUNK_SNAPSHOT.invoke(chunk, false, false, false, false));
} else {
snapshots.add(chunk.getChunkSnapshot(false, false, false));
}
} catch (Throwable throwable) {
snapshots.add(chunk.getChunkSnapshot(false, false, false));
Expand Down

0 comments on commit fcbf4ad

Please sign in to comment.