Deprecate duplicate chat completion methods (#9401)

This commit is contained in:
Jake Potrebic 2023-06-27 01:18:59 -07:00
parent 94fbc95d13
commit 4f0fa96a00

View File

@ -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