aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/util/skyblock/ScreenIdentification.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/util/skyblock/ScreenIdentification.kt')
-rw-r--r--src/main/kotlin/util/skyblock/ScreenIdentification.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/util/skyblock/ScreenIdentification.kt b/src/main/kotlin/util/skyblock/ScreenIdentification.kt
index 7ddc481..4fea3df 100644
--- a/src/main/kotlin/util/skyblock/ScreenIdentification.kt
+++ b/src/main/kotlin/util/skyblock/ScreenIdentification.kt
@@ -20,6 +20,10 @@ fun Screen.isBazaarUi(): Boolean {
})
}
+fun Screen.isEnchantmentGuide(): Boolean {
+ return title.unformattedString.endsWith("Enchantments Guide")
+}
+
fun Screen.isSuperPairs(): Boolean {
return title.unformattedString.startsWith("Superpairs")
}