From 15df4318534e240ae87af429f11ecf2e11939d49 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Fri, 16 Jun 2023 02:17:36 +0200 Subject: Fixed small bug --- .../at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java') diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt index 59f854ef0..f4e380fc4 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt @@ -119,6 +119,7 @@ object SlayerItemProfitTracker { fun onChatPacket(event: PacketEvent.ReceiveEvent) { if (!isEnabled()) return if (!SlayerAPI.isInSlayerArea) return + if (!SlayerAPI.hasActiveSlayerQuest()) return val packet = event.packet if (packet !is S0DPacketCollectItem) return -- cgit