diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-11 23:45:17 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-11 23:45:17 +0100 |
commit | ff99c10c671cb6f594cc7670216328801fce85b4 (patch) | |
tree | fe458272b304d3a014148a76f7ba15128a94fc6b /src/main/java/at/hannibal2/skyhanni | |
parent | 004a12365fe5b88c59afae5291578bc9d1e1491c (diff) | |
download | skyhanni-ff99c10c671cb6f594cc7670216328801fce85b4.tar.gz skyhanni-ff99c10c671cb6f594cc7670216328801fce85b4.tar.bz2 skyhanni-ff99c10c671cb6f594cc7670216328801fce85b4.zip |
Allows hiding autopet messages in chat without having pet display enabled.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt index 49d12b7aa..4b4d39816 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt @@ -28,7 +28,7 @@ class CurrentPetDisplay { fun onChatMessage(event: LorenzChatEvent) { findPetInChat(event.message)?.let { PetAPI.currentPet = it - if (config.display && config.hideAutopet) { + if (config.hideAutopet) { event.blockedReason = "pets" } } |