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 28f2d800d8..e19dc40164 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 410427fe9f7aa75592d7ba4aec7cfc78ae868da7 Mon Sep 17 00:00:00 2001
+From dcca0bbf7f9820481d601b754d7e7c80e9c4dc09 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 d088c3c..d16facb 100644
+index d088c3c2..d16facb7 100644
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
-@@ -130,6 +130,78 @@ public interface World extends PluginMessageRecipient, Metadatable {
+@@ -129,6 +129,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 d088c3c..d16facb 100644
+ */
+ public void getChunkAtAsync(Block block, ChunkLoadCallback cb);
+
-+ /**
+ /**
* Checks if the specified {@link Chunk} is loaded
*
- * @param chunk The chunk to check
--
-2.8.0
+2.34.0