13
0
geforkt von Mirrors/Paper

SPIGOT-3883: Better reloading of pending unload chunks

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2018-04-04 16:12:32 +10:00
Ursprung f4e35ccf91
Commit 10a070d7a2

Datei anzeigen

@ -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) {