color on dc msg

This commit is contained in:
creeper123123321 2021-03-23 06:56:24 -03:00 committed by GitHub
parent 871390fe61
commit 9fb02237ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,6 @@ object PlayState : MinecraftConnectionState {
override fun disconnect(handler: MinecraftHandler, msg: String) {
super.disconnect(handler, msg)
writeFlushClose(handler.data.frontChannel,
Kick().also { it.msg = JsonPrimitive("[VIAaaS] $msg").toString() })
Kick().also { it.msg = JsonPrimitive("[VIAaaS] §c$msg").toString() })
}
}
}