Skip to content

Commit

Permalink
fix: properly map NEW to level 45
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Nov 2, 2024
1 parent c162b1d commit 03bf9cc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ public CompletionStage<Void> upgradeToThis(ChunkLoadingContext context) {
public CompletionStage<Void> downgradeFromThis(ChunkLoadingContext context) {
throw new UnsupportedOperationException();
}

@Override
public int toVanillaLevel() {
return ChunkLevels.INACCESSIBLE + 1;
}
};
statuses.add(NEW);
DISK = Config.asyncSerialization ? new ReadFromDiskAsync(statuses.size()) : new ReadFromDisk(statuses.size());
Expand Down

0 comments on commit 03bf9cc

Please sign in to comment.