aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/lorenz/mod/chat
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/lorenz/mod/chat')
-rw-r--r--src/main/java/at/lorenz/mod/chat/ChatManager.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/lorenz/mod/chat/ChatManager.kt b/src/main/java/at/lorenz/mod/chat/ChatManager.kt
index 878c4e8c0..c4ad5ee8d 100644
--- a/src/main/java/at/lorenz/mod/chat/ChatManager.kt
+++ b/src/main/java/at/lorenz/mod/chat/ChatManager.kt
@@ -1,5 +1,6 @@
package at.lorenz.mod.chat
+import at.lorenz.mod.events.LorenzActionBarEvent
import at.lorenz.mod.utils.LorenzLogger
import at.lorenz.mod.events.LorenzChatEvent
import at.lorenz.mod.events.PacketEvent
@@ -23,8 +24,8 @@ class ChatManager {
val message = LorenzUtils.stripVanillaMessage(messageComponent.formattedText)
if (packet.type.toInt() == 2) {
-// val actionBarEvent = LorenzActionBarEvent(message)
-// actionBarEvent.postAndCatch()
+ val actionBarEvent = LorenzActionBarEvent(message)
+ actionBarEvent.postAndCatch()
} else {
val chatEvent = LorenzChatEvent(message, messageComponent)