From d061806c22e7564f13296ccd6a86f08dfe658479 Mon Sep 17 00:00:00 2001 From: Phoebe <77941535+catgirlseraid@users.noreply.github.com> Date: Sun, 19 May 2024 23:37:51 +1200 Subject: [PATCH 1/2] Update src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> --- .../hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt index 06520461b776..246cebee799b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/card/BingoCardReader.kt @@ -91,7 +91,7 @@ class BingoCardReader { description = description.substring(2) } - val done = lore.any { goalReachedPattern.matches(it) } + val done = lore.any { goalReachedPattern.find(it) } val communtyGoalPercentage = readCommuntyGoalPercentage(lore) val hiddenGoalData = getHiddenGoalData(name, description, goalType) val visualDescription = hiddenGoalData.tipNote From 286100baf0b63ae390b91e7c07e88c89b9ad184b Mon Sep 17 00:00:00 2001 From: Phoebe <77941535+catgirlseraid@users.noreply.github.com> Date: Sun, 19 May 2024 23:38:52 +1200 Subject: [PATCH 2/2] Update src/main/java/at/hannibal2/skyhanni/features/bingo/card/nextstephelper/BingoNextStepHelper.kt Co-authored-by: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> --- .../features/bingo/card/nextstephelper/BingoNextStepHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/card/nextstephelper/BingoNextStepHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/card/nextstephelper/BingoNextStepHelper.kt index e098c49e9415..c3a101d2c995 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/card/nextstephelper/BingoNextStepHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/card/nextstephelper/BingoNextStepHelper.kt @@ -58,7 +58,7 @@ class BingoNextStepHelper { ) private val npcMessagePattern by patternGroup.pattern( "crystal.npcmessage", - "§e[NPC] §dRhys§f: §rThank you for the items!§r" + "§e\\[NPC] §dRhys§f: §rThank you for the items!§r" ) private val itemIslandRequired = mutableMapOf()