From a022dd22fdfef72c039374e11817a5485bc796b3 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 22 May 2016 13:57:44 +1000 Subject: SPIGOT-2303: Use getChunkIfLoaded --- nms-patches/World.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nms-patches') diff --git a/nms-patches/World.patch b/nms-patches/World.patch index 1f3acb14..96a84cb6 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) { -- cgit v1.2.3