aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/Registrations.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-06-21 22:10:31 -0500
committeringlettronald <inglettronald@gmail.com>2023-06-21 22:10:31 -0500
commit5dd4c58fea97d5df8f18c099701b7034ae8939f5 (patch)
tree3ef3b740b4942a5786b428b402b68edb672aef0f /src/main/kotlin/com/dulkirfabric/Registrations.kt
parentb56cf5d2a1aa1864b43acae69aedde676afafd57 (diff)
downloadDulkirMod-Fabric-5dd4c58fea97d5df8f18c099701b7034ae8939f5.tar.gz
DulkirMod-Fabric-5dd4c58fea97d5df8f18c099701b7034ae8939f5.tar.bz2
DulkirMod-Fabric-5dd4c58fea97d5df8f18c099701b7034ae8939f5.zip
more work on Chat parsing and Sound handling
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/Registrations.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/Registrations.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/Registrations.kt b/src/main/kotlin/com/dulkirfabric/Registrations.kt
index d15be19..55b301a 100644
--- a/src/main/kotlin/com/dulkirfabric/Registrations.kt
+++ b/src/main/kotlin/com/dulkirfabric/Registrations.kt
@@ -61,7 +61,7 @@ object Registrations {
ClientReceiveMessageEvents.ALLOW_GAME.register(
ClientReceiveMessageEvents.AllowGame { message, overlay ->
if (overlay) !OverlayReceivedEvent(message.toString()).post()
- else !ChatReceivedEvent(message.toString()).post()
+ else !ChatReceivedEvent(message).post()
}
)
WorldRenderEvents.END.register(