Skip to content

Commit

Permalink
[6.0.10] update chat system
Browse files Browse the repository at this point in the history
  • Loading branch information
Bkm016 committed Feb 10, 2023
1 parent 115b1c7 commit a8e690b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ class DefaultComponent : ComponentText {
}

override fun hoverText(text: String): ComponentText {
latest.forEach { it.hoverEvent = HoverEvent(HoverEvent.Action.SHOW_TEXT, Text(text)) }
return this
return hoverText(ComponentText.of(text))
}

override fun hoverText(text: ComponentText): ComponentText {
Expand Down

0 comments on commit a8e690b

Please sign in to comment.