aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-API-Patches/0006-Add-async-chunk-load-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Spigot-API-Patches/0006-Add-async-chunk-load-API.patch')
-rw-r--r--Spigot-API-Patches/0006-Add-async-chunk-load-API.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/Spigot-API-Patches/0006-Add-async-chunk-load-API.patch b/Spigot-API-Patches/0006-Add-async-chunk-load-API.patch
index 77a7cb65c7..f61836b5ea 100644
--- a/Spigot-API-Patches/0006-Add-async-chunk-load-API.patch
+++ b/Spigot-API-Patches/0006-Add-async-chunk-load-API.patch
@@ -1,17 +1,18 @@
-From 90daaa2067899aa0bea025e45ee3e98ad862275a Mon Sep 17 00:00:00 2001
+From 2baad952536f2c0fd477dda9004f0fab7c49fbee Mon Sep 17 00:00:00 2001
From: Aikar <[email protected]>
Date: Mon, 29 Feb 2016 17:43:33 -0600
Subject: [PATCH] Add async chunk load API
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
-index 339afe4..ce92fef 100644
+index 0d48c9f0..1d4ece89 100644
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
-@@ -135,6 +135,78 @@ public interface World extends PluginMessageRecipient, Metadatable {
+@@ -134,6 +134,78 @@ public interface World extends PluginMessageRecipient, Metadatable {
+ */
public Chunk getChunkAt(Block block);
- /**
++ /**
+ * Used by {@link World#getChunkAtAsync(Location,ChunkLoadCallback)} methods
+ * to request a {@link Chunk} to be loaded, with this callback receiving
+ * the chunk when it is finished.
@@ -83,10 +84,9 @@ index 339afe4..ce92fef 100644
+ */
+ public void getChunkAtAsync(Block block, ChunkLoadCallback cb);
+
-+ /**
+ /**
* Checks if the specified {@link Chunk} is loaded
*
- * @param chunk The chunk to check
--
-2.9.2.windows.1
+2.34.0