This commit is contained in:
DaMachinator 2018-01-23 13:48:19 -05:00 committed by Arcanitor
parent f1b37bd99f
commit 31676d39c5
1 changed files with 2 additions and 2 deletions

View File

@ -18,10 +18,10 @@ class ServerChatHelper {
val user = nextMessage.username
val text = nextMessage.text.trim()
var message: String = ""
val message: String
if (!text.isEmpty()) {
val section: Char = '\u00A7'
val section = '\u00A7'
val event = nextMessage.event
message = when (event) {
"user_action" -> "* $user $text"