Skip to content

Commit

Permalink
fix: JvmName
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Nov 11, 2024
1 parent 6160808 commit 64ec77e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/net/mcbrawls/slate/tooltip/TooltipChunk.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class TooltipChunk(
/**
* Builds a tooltip chunk.
*/
@JvmName("tooltipChunkVararg")
inline fun tooltipChunk(vararg texts: Text, builder: TooltipChunk.() -> Unit = {}): TooltipChunk {
return tooltipChunk(texts.toList(), builder)
}
Expand All @@ -49,6 +50,7 @@ class TooltipChunk(
/**
* Builds a tooltip chunk.
*/
@JvmName("tooltipChunkVararg")
inline fun tooltipChunk(vararg texts: String, builder: TooltipChunk.() -> Unit = {}): TooltipChunk {
return tooltipChunk(texts.toList(), builder)
}
Expand Down

0 comments on commit 64ec77e

Please sign in to comment.