mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-23 08:13:48 -07:00
SPIGOT-3883: Better reloading of pending unload chunks
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -64,7 +64,7 @@
|
|||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ public Chunk getChunkAt(int i, int j, Runnable runnable, boolean generate) {
|
+ public Chunk getChunkAt(int i, int j, Runnable runnable, boolean generate) {
|
||||||
+ Chunk chunk = getChunkIfLoaded(i, j);
|
+ Chunk chunk = getLoadedChunkAt(i, j);
|
||||||
+ ChunkRegionLoader loader = null;
|
+ ChunkRegionLoader loader = null;
|
||||||
+
|
+
|
||||||
+ if (this.chunkLoader instanceof ChunkRegionLoader) {
|
+ if (this.chunkLoader instanceof ChunkRegionLoader) {
|
||||||
|
Reference in New Issue
Block a user