summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-05-22 13:57:44 +1000
committermd_5 <git@md-5.net>2016-05-22 13:57:44 +1000
commita022dd22fdfef72c039374e11817a5485bc796b3 (patch)
tree5c7ba68882bece8b9a352efa4c8254cc1702b7a2 /nms-patches
parent8982e3f33e4c1d47fe31d71c8dc25e929d7b99d7 (diff)
downloadcraftbukkit-a022dd22fdfef72c039374e11817a5485bc796b3.tar
craftbukkit-a022dd22fdfef72c039374e11817a5485bc796b3.tar.gz
craftbukkit-a022dd22fdfef72c039374e11817a5485bc796b3.tar.lz
craftbukkit-a022dd22fdfef72c039374e11817a5485bc796b3.tar.xz
craftbukkit-a022dd22fdfef72c039374e11817a5485bc796b3.zip
SPIGOT-2303: Use getChunkIfLoaded
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/World.patch2
1 files changed, 1 insertions, 1 deletions
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) {