aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data/model
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2023-10-26 12:51:44 +0100
committerGitHub <noreply@github.com>2023-10-26 13:51:44 +0200
commit075368eb9d19578950fdb727bf2f195c63f41f3c (patch)
treea9f44aedbb32aa6805827d6d86766056cacf8ad2 /src/main/java/at/hannibal2/skyhanni/data/model
parent7b6d04e280a55edc7aed23f7d34c3ad19cb48687 (diff)
downloadskyhanni-075368eb9d19578950fdb727bf2f195c63f41f3c.tar.gz
skyhanni-075368eb9d19578950fdb727bf2f195c63f41f3c.tar.bz2
skyhanni-075368eb9d19578950fdb727bf2f195c63f41f3c.zip
Add Repo TODOs (#585)
Add Repo TODOs #585
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/model')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/model/ComposterUpgrade.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/model/ComposterUpgrade.kt b/src/main/java/at/hannibal2/skyhanni/data/model/ComposterUpgrade.kt
index f9f33d6cf..4712689dc 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/model/ComposterUpgrade.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/model/ComposterUpgrade.kt
@@ -10,7 +10,7 @@ enum class ComposterUpgrade(val displayName: String, val slotNumber: Int) {
companion object {
private fun regexValues() = entries.joinToString("|") { it.displayName }
-
+ // TODO USE SH-REPO
val regex = "§a(?<name>${regexValues()})(?: (?<level>.*))?".toPattern()
fun getByName(name: String) = entries.firstOrNull { it.displayName == name }