mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 15:12:13 -07:00
Update to Minecraft 1.12-pre2
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
+ if (this.chunkLoader instanceof ChunkRegionLoader) {
|
||||
+ loader = (ChunkRegionLoader) this.chunkLoader;
|
||||
+ }
|
||||
+ if (loader != null && loader.a(i, j)) {
|
||||
+ if (loader != null && loader.chunkExists(i, j)) {
|
||||
+ chunk = ChunkIOExecutor.syncChunkLoad(world, loader, this, i, j);
|
||||
+ }
|
||||
+ }
|
||||
@@ -72,7 +72,7 @@
|
||||
+
|
||||
+ }
|
||||
+ // We can only use the queue for already generated chunks
|
||||
+ if (chunk == null && loader != null && loader.a(i, j)) {
|
||||
+ if (chunk == null && loader != null && loader.chunkExists(i, j)) {
|
||||
+ if (runnable != null) {
|
||||
+ ChunkIOExecutor.queueChunkLoad(world, loader, this, i, j, runnable);
|
||||
+ return null;
|
||||
|
Reference in New Issue
Block a user