Skip to content

Commit

Permalink
fix: format using result to alÃlow for tweaks to originalMessage befo…
Browse files Browse the repository at this point in the history
…re adding chat-format
  • Loading branch information
Boy0000 committed Dec 10, 2023
1 parent 576d693 commit 263c57e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ChatListener : Listener {

@EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true)
fun AsyncChatDecorateEvent.onChatPreview() {
player()?.let { result(formattedResult(it, originalMessage())) }
player()?.let { result(formattedResult(it, result())) }
}

@EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true)
Expand Down

0 comments on commit 263c57e

Please sign in to comment.