From 5dd4c58fea97d5df8f18c099701b7034ae8939f5 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Wed, 21 Jun 2023 22:10:31 -0500 Subject: more work on Chat parsing and Sound handling --- src/main/kotlin/com/dulkirfabric/Registrations.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/com/dulkirfabric/Registrations.kt') 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( -- cgit