mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Deprecate duplicate chat completion methods (#9401)
This commit is contained in:
parent
94fbc95d13
commit
4f0fa96a00
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user