diff --git a/patches/server/Asynchronous-chunk-IO-and-loading.patch b/patches/server/Asynchronous-chunk-IO-and-loading.patch index f7e57c7c08..e9632bb95e 100644 --- a/patches/server/Asynchronous-chunk-IO-and-loading.patch +++ b/patches/server/Asynchronous-chunk-IO-and-loading.patch @@ -3532,7 +3532,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + + // Paper start - async chunk io + public void loadInData(ChunkPos chunkPos, CompoundTag compound) { -+ this.readColumn(chunkPos, NbtOps.INSTANCE, compound); ++ this.readColumn(chunkPos, RegistryOps.create(NbtOps.INSTANCE, this.registryAccess), compound); } + // Paper end - aync chnnk i @@ -3552,8 +3552,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 } + // Paper start - internal get data function, copied from above -+ private CompoundTag getDataInternal(ChunkPos chunkcoordintpair) { -+ Dynamic dynamic = this.writeColumn(chunkcoordintpair, NbtOps.INSTANCE); ++ private CompoundTag getDataInternal(ChunkPos pos) { ++ RegistryOps registryOps = RegistryOps.create(NbtOps.INSTANCE, this.registryAccess); ++ Dynamic dynamic = this.writeColumn(pos, registryOps); + Tag nbtbase = (Tag) dynamic.getValue(); + + if (nbtbase instanceof CompoundTag) {