diff options
author | Lorenz <ESs95s3P5z8Pheb> | 2022-07-11 23:30:46 +0200 |
---|---|---|
committer | Lorenz <ESs95s3P5z8Pheb> | 2022-07-11 23:30:46 +0200 |
commit | ddf652388cce1d14dc1a9dc7c44c5b6ccbb9c367 (patch) | |
tree | a1df487f4393f3ef8c4356ea1047f19757706e53 /src/main/java/at/lorenz/mod/chat | |
parent | cbd64656802075dd31964853723ad8dac8555062 (diff) | |
download | skyhanni-ddf652388cce1d14dc1a9dc7c44c5b6ccbb9c367.tar.gz skyhanni-ddf652388cce1d14dc1a9dc7c44c5b6ccbb9c367.tar.bz2 skyhanni-ddf652388cce1d14dc1a9dc7c44c5b6ccbb9c367.zip |
add action bar event, add item ability cooldown feature
Diffstat (limited to 'src/main/java/at/lorenz/mod/chat')
-rw-r--r-- | src/main/java/at/lorenz/mod/chat/ChatManager.kt | 5 |
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) |