actually stripping colors attempt 3 and counting

This commit is contained in:
nikky 2018-05-24 21:10:20 +02:00
parent 0429407547
commit fcd1a148a2
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ package matterlink.bridge.command
import matterlink.api.ApiMessage
import matterlink.bridge.MessageHandlerInst
import matterlink.stripColorOut
abstract class IMinecraftCommandSender(val user: String, val userId: String, val server: String, val op: Boolean) {
/**
@ -25,7 +26,7 @@ abstract class IMinecraftCommandSender(val user: String, val userId: String, val
reply = text
MessageHandlerInst.transmit(
ApiMessage(
text = text
text = text.stripColorOut
)
)
}