aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/features
diff options
context:
space:
mode:
authorNatalia Spence <52349324+Septikai@users.noreply.github.com>2025-11-24 12:53:29 +0000
committerLinnea Gräf <nea@nea.moe>2025-11-30 11:48:49 +0100
commit9e0b9393f696d2643a1353209bbc2923d11b5c6f (patch)
tree9cf7bd344a541235e96d51ce8a7512a96ba644f7 /src/main/kotlin/features
parentd24b2b8398c862cab63d3dad736bc16ceb0961df (diff)
downloadFirmament-9e0b9393f696d2643a1353209bbc2923d11b5c6f.tar.gz
Firmament-9e0b9393f696d2643a1353209bbc2923d11b5c6f.tar.bz2
Firmament-9e0b9393f696d2643a1353209bbc2923d11b5c6f.zip
fix: add support for archaic and deific spades
Diffstat (limited to 'src/main/kotlin/features')
-rw-r--r--src/main/kotlin/features/diana/AncestralSpadeSolver.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/kotlin/features/diana/AncestralSpadeSolver.kt b/src/main/kotlin/features/diana/AncestralSpadeSolver.kt
index 72806c9..c12a2c6 100644
--- a/src/main/kotlin/features/diana/AncestralSpadeSolver.kt
+++ b/src/main/kotlin/features/diana/AncestralSpadeSolver.kt
@@ -32,7 +32,11 @@ object AncestralSpadeSolver {
fun isEnabled() =
DianaWaypoints.TConfig.ancestralSpadeSolver
&& SBData.skyblockLocation == SkyBlockIsland.HUB
- && MC.player?.inventory?.hasAnyMatching { it.skyBlockId == SkyBlockItems.ANCESTRAL_SPADE } == true // TODO: add a reactive property here
+ && MC.player?.inventory?.hasAnyMatching {
+ it.skyBlockId == SkyBlockItems.ANCESTRAL_SPADE ||
+ it.skyBlockId == SkyBlockItems.ARCHAIC_SPADE ||
+ it.skyBlockId == SkyBlockItems.DEIFIC_SPADE
+ } == true // TODO: add a reactive property here
@Subscribe
fun onKeyBind(event: WorldKeyboardEvent) {