diff options
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/events/chat/OverlayReceivedEvent.kt')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/events/chat/OverlayReceivedEvent.kt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/events/chat/OverlayReceivedEvent.kt b/src/main/kotlin/com/dulkirfabric/events/chat/OverlayReceivedEvent.kt index 1e27260..9ce5b1f 100644 --- a/src/main/kotlin/com/dulkirfabric/events/chat/OverlayReceivedEvent.kt +++ b/src/main/kotlin/com/dulkirfabric/events/chat/OverlayReceivedEvent.kt @@ -1,5 +1,6 @@ package com.dulkirfabric.events.chat -import com.dulkirfabric.events.base.CancellableEvent +import com.dulkirfabric.events.base.ModifyTextEvent +import net.minecraft.text.Text -data class OverlayReceivedEvent(val message: String): CancellableEvent() +data class OverlayReceivedEvent(val message: Text): ModifyTextEvent(message) |