From a022dd22fdfef72c039374e11817a5485bc796b3 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 22 May 2016 13:57:44 +1000 Subject: [PATCH] SPIGOT-2303: Use getChunkIfLoaded --- nms-patches/World.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/World.patch b/nms-patches/World.patch index 1f3acb1439..96a84cb6b1 100644 --- a/nms-patches/World.patch +++ b/nms-patches/World.patch @@ -63,7 +63,7 @@ + } + + public Chunk getChunkIfLoaded(int x, int z) { -+ return ((ChunkProviderServer) this.chunkProvider).getLoadedChunkAt(x, z); ++ return ((ChunkProviderServer) this.chunkProvider).getChunkIfLoaded(x, z); + } + + protected World(IDataManager idatamanager, WorldData worlddata, WorldProvider worldprovider, MethodProfiler methodprofiler, boolean flag, ChunkGenerator gen, org.bukkit.World.Environment env) {