Skip to content

Commit 824ad36

Browse files
committed
refactor: deprecate getEM_DASH function for binary compatibility and update version to 1.21.11-2.59.0
1 parent 4f816ed commit 824ad36

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
77
javaVersion=25
88
mcVersion=1.21.11
99
group=dev.slne.surf
10-
version=1.21.11-2.58.0
10+
version=1.21.11-2.59.0
1111
relocationPrefix=dev.slne.surf.surfapi.libs
1212
snapshot=false

surf-api-core/surf-api-core-api/api/surf-api-core-api.api

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6519,6 +6519,7 @@ public final class dev/slne/surf/surfapi/core/api/messages/CommonComponents {
65196519
public static synthetic fun formatMap$default (Ldev/slne/surf/surfapi/core/api/messages/CommonComponents;Ljava/util/Map;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lnet/kyori/adventure/text/Component;Lnet/kyori/adventure/text/Component;ILjava/lang/Object;)Lnet/kyori/adventure/text/Component;
65206520
public final fun formatTime-gRj5Bb8 (JZZLnet/kyori/adventure/text/Component;Lnet/kyori/adventure/text/format/TextColor;)Lnet/kyori/adventure/text/Component;
65216521
public static synthetic fun formatTime-gRj5Bb8$default (Ldev/slne/surf/surfapi/core/api/messages/CommonComponents;JZZLnet/kyori/adventure/text/Component;Lnet/kyori/adventure/text/format/TextColor;ILjava/lang/Object;)Lnet/kyori/adventure/text/Component;
6522+
public final synthetic fun getEM_DASH ()Lnet/kyori/adventure/text/TextComponent;
65226523
public final fun renderDisconnectMessage (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Lnet/kyori/adventure/text/TextComponent;
65236524
public final fun renderDisconnectMessage (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Z)Lnet/kyori/adventure/text/TextComponent;
65246525
public final fun renderDisconnectMessage (Lnet/kyori/adventure/text/TextComponent$Builder;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)Lnet/kyori/adventure/text/TextComponent;

surf-api-core/surf-api-core-api/src/main/kotlin/dev/slne/surf/surfapi/core/api/messages/CommonComponents.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ object CommonComponents {
6767
@JvmField
6868
val EM_DASH = text("", SPACER)
6969

70+
@Suppress("FunctionName")
71+
@Deprecated("Binary compatibility", ReplaceWith("EM_DASH"), DeprecationLevel.HIDDEN)
72+
fun getEM_DASH() = EM_DASH
73+
7074
/**
7175
* A clickable Discord link component (`discord.gg/castcrafter`).
7276
*/

0 commit comments

Comments
 (0)