aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/bingo
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-05 17:59:25 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-05 17:59:50 +0200
commitad97872d5c7ecbabb1809ac6a834a80c6a749197 (patch)
tree6a9b729c4d500bc58be9f0a6eee4d3473831572f /src/main/java/at/hannibal2/skyhanni/features/bingo
parent1312f5b1bccfa48ad87b2fa040005398a97ed6ad (diff)
downloadskyhanni-ad97872d5c7ecbabb1809ac6a834a80c6a749197.tar.gz
skyhanni-ad97872d5c7ecbabb1809ac6a834a80c6a749197.tar.bz2
skyhanni-ad97872d5c7ecbabb1809ac6a834a80c6a749197.zip
0.20 Beta 3
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/bingo')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt
index 23991e31c..c73806877 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/CompactBingoChat.kt
@@ -15,7 +15,6 @@ class CompactBingoChat {
private var inCollectionLevelUp = false
private var collectionLevelUpLastLine: String? = null
private var newArea = 0//0 = nothing, 1 = after first message, 2 = after second message
- private var inBestiarity = false
private val healthPattern = " §r§7§8\\+§a.* §c❤ Health".toPattern()
private val strengthPattern = " §r§7§8\\+§a. §c❁ Strength".toPattern()
@@ -31,7 +30,6 @@ class CompactBingoChat {
inSkillLevelUp = false
inSkyblockLevelUp = false
inCollectionLevelUp = false
- inBestiarity = false
if (config.hideBorder) {
event.blockedReason = "compact_bingo_border"
}
@@ -42,7 +40,6 @@ class CompactBingoChat {
if (onSkyBlockLevelUp(message)) event.blockedReason = "compact_skyblock_level_up"
if (onCollectionLevelUp(message)) event.blockedReason = "compact_collection_level_up"
if (onNewAreaDiscovered(message)) event.blockedReason = "compact_new_area_discovered"
- if (onBestiarityUpgrade(message)) event.blockedReason = "compact_skill_level_up"
}
private fun onSkillLevelUp(message: String): Boolean {
@@ -130,15 +127,4 @@ class CompactBingoChat {
}
return false
}
-
- private fun onBestiarityUpgrade(message: String): Boolean {
- if (message.startsWith(" §r§3§lBESTIARY §b§l")) {
- inBestiarity = true
- return false
- }
-
- if (message.contains("§r§6§lBESTIARY MILESTONE")) return false
-
- return inBestiarity
- }
} \ No newline at end of file