summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-04-04 16:12:32 +1000
committermd_5 <git@md-5.net>2018-04-04 16:12:32 +1000
commitfb423b8f48335d0dc6c88cd8a24ee07d82ae09a8 (patch)
tree5ae8fe05f1284ae481811afdaeaed3e2fdef7dea
parent68b4fb64275baa884858f0483681e6470d4afa6c (diff)
downloadcraftbukkit-fb423b8f48335d0dc6c88cd8a24ee07d82ae09a8.tar
craftbukkit-fb423b8f48335d0dc6c88cd8a24ee07d82ae09a8.tar.gz
craftbukkit-fb423b8f48335d0dc6c88cd8a24ee07d82ae09a8.tar.lz
craftbukkit-fb423b8f48335d0dc6c88cd8a24ee07d82ae09a8.tar.xz
craftbukkit-fb423b8f48335d0dc6c88cd8a24ee07d82ae09a8.zip
SPIGOT-3883: Better reloading of pending unload chunks
-rw-r--r--nms-patches/ChunkProviderServer.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/ChunkProviderServer.patch b/nms-patches/ChunkProviderServer.patch
index acf9f26e..9f92a1c3 100644
--- a/nms-patches/ChunkProviderServer.patch
+++ b/nms-patches/ChunkProviderServer.patch
@@ -64,7 +64,7 @@
+ }
+
+ public Chunk getChunkAt(int i, int j, Runnable runnable, boolean generate) {
-+ Chunk chunk = getChunkIfLoaded(i, j);
++ Chunk chunk = getLoadedChunkAt(i, j);
+ ChunkRegionLoader loader = null;
+
+ if (this.chunkLoader instanceof ChunkRegionLoader) {