diff options
author | Spottedleaf <[email protected]> | 2024-11-18 22:58:46 -0800 |
---|---|---|
committer | Spottedleaf <[email protected]> | 2024-11-18 23:02:17 -0800 |
commit | fdef6d392b22cffc0cf6385ea6d9d34bb2feb32b (patch) | |
tree | 55ed2c6b06917b632f31f32d76b115d67fc93ed8 /patches | |
parent | 878da16a6b74425cbe537aa33276473716eb191a (diff) | |
download | Paper-fdef6d392b22cffc0cf6385ea6d9d34bb2feb32b.tar.gz Paper-fdef6d392b22cffc0cf6385ea6d9d34bb2feb32b.zip |
Add missing NotNull annotation for getChunksAtAsync cb param
Diffstat (limited to 'patches')
-rw-r--r-- | patches/api/0139-Async-Chunks-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0139-Async-Chunks-API.patch b/patches/api/0139-Async-Chunks-API.patch index 72bc196ac9..bda9be5732 100644 --- a/patches/api/0139-Async-Chunks-API.patch +++ b/patches/api/0139-Async-Chunks-API.patch @@ -8,7 +8,7 @@ Adds API's to load or generate chunks asynchronously. Also adds utility methods to Entity to teleport asynchronously. diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java -index ba9ab1d46effe1e6c08cebddb8b856e2b294d7cb..f314f8bc5c437c5703c1e093278d9046903ff2c8 100644 +index ba9ab1d46effe1e6c08cebddb8b856e2b294d7cb..1161c286aaaaad761c80ca97c25fd166365bb044 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -977,6 +977,509 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient @@ -203,7 +203,7 @@ index ba9ab1d46effe1e6c08cebddb8b856e2b294d7cb..f314f8bc5c437c5703c1e093278d9046 + * @see Chunk + */ + void getChunksAtAsync(final int minX, final int minZ, final int maxX, final int maxZ, final boolean urgent, -+ final Runnable cb); ++ final @NotNull Runnable cb); + + /** + * Requests a {@link Chunk} to be loaded at the given {@link Location} |