mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-09 20:30:28 +01:00
SPIGOT-3883: Better reloading of pending unload chunks
This commit is contained in:
parent
68b4fb6427
commit
fb423b8f48
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user