From 3fefca78ca09fca6814fee1488e5a47209b0c54d Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Thu, 25 Mar 2021 22:10:41 -0300 Subject: [PATCH] remove ugly "()" from status --- .../creeper123123321/viaaas/handler/state/StatusState.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/com/github/creeper123123321/viaaas/handler/state/StatusState.kt b/src/main/kotlin/com/github/creeper123123321/viaaas/handler/state/StatusState.kt index 334855a..887b514 100644 --- a/src/main/kotlin/com/github/creeper123123321/viaaas/handler/state/StatusState.kt +++ b/src/main/kotlin/com/github/creeper123123321/viaaas/handler/state/StatusState.kt @@ -37,9 +37,9 @@ object StatusState : MinecraftConnectionState { it.addProperty("id", UUID.nameUUIDFromBytes("VIAaaS".toByteArray(Charsets.UTF_8)).toString()) it.addProperty( "name", - "§9VIAaaS§r (C: §7${handler.data.frontVer!!.parseProtocol()}§r S: §7${ + "§9VIAaaS§r C: §7${handler.data.frontVer!!.parseProtocol()}§r S: §7${ handler.data.viaBackServerVer!!.parseProtocol() - }§r)" + }" ) }) @@ -55,4 +55,4 @@ object StatusState : MinecraftConnectionState { | "sample": []}, "description": {"text": ${Gson().toJson("§c$msg")}}}""".trimMargin() writeFlushClose(handler.data.frontChannel, packet) } -} \ No newline at end of file +}