diff options
author | Alexia <me@alexia.lol> | 2024-02-24 00:08:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-24 00:08:52 +0100 |
commit | 972d07c2631d99d0b3e46ea66eecf0825d4e038c (patch) | |
tree | 01218570da26c36ed7ba60fbdc526d45282c984f /src/main/java/at/hannibal2/skyhanni/features/misc | |
parent | 4a542542f7887880152782da2ec0aca272260087 (diff) | |
download | skyhanni-972d07c2631d99d0b3e46ea66eecf0825d4e038c.tar.gz skyhanni-972d07c2631d99d0b3e46ea66eecf0825d4e038c.tar.bz2 skyhanni-972d07c2631d99d0b3e46ea66eecf0825d4e038c.zip |
Fixed rare profile detection bugs. Changed PreProfileSwitchEvent to ProfileJoinEvent. #868
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/misc')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt index fbb606229..a5a9c8900 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/NonGodPotEffectDisplay.kt @@ -9,7 +9,7 @@ import at.hannibal2.skyhanni.events.LorenzChatEvent import at.hannibal2.skyhanni.events.LorenzTickEvent import at.hannibal2.skyhanni.events.LorenzWorldChangeEvent import at.hannibal2.skyhanni.events.PacketEvent -import at.hannibal2.skyhanni.events.PreProfileSwitchEvent +import at.hannibal2.skyhanni.events.ProfileJoinEvent import at.hannibal2.skyhanni.features.rift.RiftAPI import at.hannibal2.skyhanni.test.command.ErrorManager import at.hannibal2.skyhanni.utils.ChatUtils @@ -78,7 +78,7 @@ class NonGodPotEffectDisplay { private var totalEffectsCount = 0 @SubscribeEvent - fun onPreProfileSwitch(event: PreProfileSwitchEvent) { + fun onProfileJoin(event: ProfileJoinEvent) { effectDuration.clear() display = emptyList() } |