mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Deprecate ChatVisibility#UNKNOWN (#11683)
This commit is contained in:
@@ -44,6 +44,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ FULL("full"),
|
||||
+ SYSTEM("system"),
|
||||
+ HIDDEN("hidden"),
|
||||
+ /**
|
||||
+ * @deprecated no longer used anymore since 1.15.2, the value fallback
|
||||
+ * to the default value of the setting when unknown on the server.
|
||||
+ * In this case {@link #FULL} will be returned.
|
||||
+ */
|
||||
+ @Deprecated(since = "1.15.2", forRemoval = true)
|
||||
+ UNKNOWN("unknown");
|
||||
+
|
||||
+ public static final Index<String, ChatVisibility> NAMES = Index.create(ChatVisibility.class, chatVisibility -> chatVisibility.name);
|
||||
|
Reference in New Issue
Block a user