Re-add legacy getChunkAtAsynchronously to ChunkProviderServer

Apparently some plugins use it
This commit is contained in:
Spottedleaf
2022-09-02 04:41:08 -07:00
parent 0ee53db50a
commit a2df674cc0
3 changed files with 95 additions and 93 deletions

View File

@@ -798,8 +798,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/net/minecraft/server/level/ServerChunkCache.java
+++ b/src/main/java/net/minecraft/server/level/ServerChunkCache.java
@@ -0,0 +0,0 @@ public class ServerChunkCache extends ChunkSource {
return CompletableFuture.completedFuture(either);
}, this.mainThreadProcessor);
return ret;
}
+
+ public boolean markUrgent(ChunkPos coords) {