diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-16 02:17:36 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-16 02:17:36 +0200 |
commit | 15df4318534e240ae87af429f11ecf2e11939d49 (patch) | |
tree | 3668fe7da04548ae781499a45a92fafc1f51fd2b /src/main/java/at/hannibal2 | |
parent | a26cac31fd82d61c366600d2f0b9ca301032d052 (diff) | |
download | skyhanni-15df4318534e240ae87af429f11ecf2e11939d49.tar.gz skyhanni-15df4318534e240ae87af429f11ecf2e11939d49.tar.bz2 skyhanni-15df4318534e240ae87af429f11ecf2e11939d49.zip |
Fixed small bug
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerItemProfitTracker.kt | 1 |
1 files changed, 1 insertions, 0 deletions
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 |