From ff99c10c671cb6f594cc7670216328801fce85b4 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Mon, 11 Dec 2023 23:45:17 +0100 Subject: Allows hiding autopet messages in chat without having pet display enabled. --- src/main/java/at/hannibal2/skyhanni/features/misc/CurrentPetDisplay.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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" } } -- cgit