Skip to content

Commit

Permalink
ClientListener: Fix command in messageSent not being prepended with '/'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattco98 committed Oct 1, 2023
1 parent d135987 commit a4e8e14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ object ClientListener : Initializer {

ClientSendMessageEvents.ALLOW_COMMAND.register { message ->
val event = CancellableEvent()
TriggerType.MESSAGE_SENT.triggerAll(message, event)
TriggerType.MESSAGE_SENT.triggerAll("/$message", event)

!event.isCancelled()
}
Expand Down

0 comments on commit a4e8e14

Please sign in to comment.