diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-13 19:00:31 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-11-13 19:00:31 +0100 |
commit | 72015368502f5e1bb35b6cc4e70fbf62981b92a0 (patch) | |
tree | 9ad3d1a4ee05213e3ebfd44b195ad427161ce758 /src/main/java | |
parent | 7218a8f900c29521b152a0e616d7b75cc509840b (diff) | |
download | skyhanni-72015368502f5e1bb35b6cc4e70fbf62981b92a0.tar.gz skyhanni-72015368502f5e1bb35b6cc4e70fbf62981b92a0.tar.bz2 skyhanni-72015368502f5e1bb35b6cc4e70fbf62981b92a0.zip |
Fixed showing "slayer boss spawn soon" message outside correct slayer area.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerBossSpawnSoon.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerBossSpawnSoon.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerBossSpawnSoon.kt index e7b7fe0e5..2bfdf640f 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerBossSpawnSoon.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/SlayerBossSpawnSoon.kt @@ -21,6 +21,7 @@ class SlayerBossSpawnSoon { @SubscribeEvent fun onSlayerProgressChange(event: SlayerProgressChangeEvent) { if (!isEnabled()) return + if (!SlayerAPI.isInCorrectArea) return val completion = pattern.matchMatcher(event.newProgress.removeColor()) { group("progress").formatNumber().toFloat() / group("total").formatNumber().toFloat() |