From 87ad9b0502eb3747c091ba515c3a9a5db8c1fc5b Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Tue, 13 Jul 2021 19:15:18 +0100 Subject: [PATCH] Fix missing annotation --- patches/api/Complete-resource-pack-API.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/api/Complete-resource-pack-API.patch b/patches/api/Complete-resource-pack-API.patch index b5fdb0163..c84cae58e 100644 --- a/patches/api/Complete-resource-pack-API.patch +++ b/patches/api/Complete-resource-pack-API.patch @@ -117,7 +117,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + * @throws IllegalArgumentException Thrown if the URL is too long. The + * length restriction is an implementation specific arbitrary value. + */ -+ void setResourcePack(@NotNull String url, @NotNull String hash, boolean required, net.kyori.adventure.text.Component resourcePackPrompt); ++ void setResourcePack(@NotNull String url, @NotNull String hash, boolean required, @Nullable net.kyori.adventure.text.Component resourcePackPrompt); + /** + * @return the most recent resource pack status received from the player, + * or null if no status has ever been received from this player.