diff options
| author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-02-20 00:59:39 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-19 14:59:39 +0100 |
| commit | c19a902d2ef4aa93ff2d3cc93230f067e9315b71 (patch) | |
| tree | 588e197fa91adc383223948d003db565b5e9f5a5 /src/main/java/at/hannibal2/skyhanni/features/chat | |
| parent | ab769839034888bc10ddfb2ef815be2400d64641 (diff) | |
| download | skyhanni-c19a902d2ef4aa93ff2d3cc93230f067e9315b71.tar.gz skyhanni-c19a902d2ef4aa93ff2d3cc93230f067e9315b71.tar.bz2 skyhanni-c19a902d2ef4aa93ff2d3cc93230f067e9315b71.zip | |
Created ActionBarUpdateEvent and used it. #977
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/chat')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/chat/SkyblockXPInChat.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/SkyblockXPInChat.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/SkyblockXPInChat.kt index 8859220ee..190ddb493 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/SkyblockXPInChat.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/SkyblockXPInChat.kt @@ -2,7 +2,7 @@ package at.hannibal2.skyhanni.features.chat import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.data.ActionBarStatsData -import at.hannibal2.skyhanni.events.ActionBarValueUpdate +import at.hannibal2.skyhanni.events.ActionBarValueUpdateEvent import at.hannibal2.skyhanni.utils.ChatUtils import net.minecraftforge.fml.common.eventhandler.SubscribeEvent @@ -11,7 +11,7 @@ class SkyblockXPInChat { val config get() = SkyHanniMod.feature.chat.skyBlockXPInChat @SubscribeEvent - fun onActionBarValueUpdate(event: ActionBarValueUpdate) { + fun onActionBarValueUpdate(event: ActionBarValueUpdateEvent) { if (event.updated != ActionBarStatsData.SKYBLOCK_XP) return if (!config) return ChatUtils.chat(event.updated.value) |
