mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
SPIGOT-3883: Better reloading of pending unload chunks
This commit is contained in:
parent
68b4fb6427
commit
fb423b8f48
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue