From 6194f6cc4985a4a6840bb2cc39375caf9835ae68 Mon Sep 17 00:00:00 2001 From: Geoff Crossland Date: Tue, 31 Jan 2017 23:52:21 +0000 Subject: Drop RegionFile.chunkExists() in favour of Mojang's own version --- nms-patches/ChunkProviderServer.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nms-patches/ChunkProviderServer.patch') diff --git a/nms-patches/ChunkProviderServer.patch b/nms-patches/ChunkProviderServer.patch index bcb4586a..954d9073 100644 --- a/nms-patches/ChunkProviderServer.patch +++ b/nms-patches/ChunkProviderServer.patch @@ -22,7 +22,7 @@ + if (this.chunkLoader instanceof ChunkRegionLoader) { + loader = (ChunkRegionLoader) this.chunkLoader; + } -+ if (loader != null && loader.chunkExists(world, i, j)) { ++ if (loader != null && loader.a(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.chunkExists(world, i, j)) { ++ if (chunk == null && loader != null && loader.a(i, j)) { + if (runnable != null) { + ChunkIOExecutor.queueChunkLoad(world, loader, this, i, j, runnable); + return null; -- cgit v1.2.3