blob: eb585dd1969bee709d5a6dbbb09e71e06f1ac644 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package moe.nea.ultranotifier.event
import net.minecraft.text.Text
class ChatGuiLineEvent(val component: Text) : UltraEvent() {
val string =
//#if MC < 1.16
//$$ component.unformattedText // Why does remap not do this automatically? hello?
//#else
component.string
//#endif
override fun toString(): String {
return "ChatLineAddedEvent($string)"
}
}
|