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 90fc8f65fd..d944f8d0fe 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 8793e6a8cbd642c7d5c8e0572888eea9df36e247 Mon Sep 17 00:00:00 2001
+From 9441e2ae453aa948a8656a3a2b9fc46695106042 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 e9b1b0a..56f5029 100644
+index e9b1b0a8..56f50296 100644
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
-@@ -137,6 +137,78 @@ public interface World extends PluginMessageRecipient, Metadatable {
+@@ -136,6 +136,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 e9b1b0a..56f5029 100644
+ */
+ public void getChunkAtAsync(Block block, ChunkLoadCallback cb);
+
-+ /**
+ /**
* Checks if the specified {@link Chunk} is loaded
*
- * @param chunk The chunk to check
--
-2.9.3
+2.34.0