From 4f0fa96a002c860eef7ac71424a27fe946fc9889 Mon Sep 17 00:00:00 2001
From: Jake Potrebic <jake.m.potrebic@gmail.com>
Date: Tue, 27 Jun 2023 01:18:59 -0700
Subject: [PATCH] Deprecate duplicate chat completion methods (#9401)

---
 patches/api/Custom-Chat-Completion-Suggestions-API.patch | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/patches/api/Custom-Chat-Completion-Suggestions-API.patch b/patches/api/Custom-Chat-Completion-Suggestions-API.patch
index 2e672cff57..0d8de55385 100644
--- a/patches/api/Custom-Chat-Completion-Suggestions-API.patch
+++ b/patches/api/Custom-Chat-Completion-Suggestions-API.patch
@@ -18,7 +18,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
 +     * suggest when typing in chat.
 +     *
 +     * @param completions custom completions
++     * @deprecated use {@link #addCustomChatCompletions(Collection)}
 +     */
++    @Deprecated(since = "1.20.1")
 +    void addAdditionalChatCompletions(@NotNull java.util.Collection<String> completions);
 +
 +    /**
@@ -29,7 +31,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
 +     * online player names are always suggested and cannot be removed.
 +     *
 +     * @param completions custom completions
++     * @deprecated use {@link #addCustomChatCompletions(Collection)}
 +     */
++    @Deprecated(since = "1.20.1")
 +    void removeAdditionalChatCompletions(@NotNull java.util.Collection<String> completions);
      // Paper end