aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2024-07-08 22:40:38 +1000
committerGitHub <noreply@github.com>2024-07-08 14:40:38 +0200
commiteb07bdda62b9a0e6ee7f88c6bc067da6e198def1 (patch)
treecc80dc973573c3661b45594d51917761bfd90234
parentefb88180d57d1254c7bc1833d0aca754fcdfe49e (diff)
downloadnotenoughupdates-eb07bdda62b9a0e6ee7f88c6bc067da6e198def1.tar.gz
notenoughupdates-eb07bdda62b9a0e6ee7f88c6bc067da6e198def1.tar.bz2
notenoughupdates-eb07bdda62b9a0e6ee7f88c6bc067da6e198def1.zip
meta: Fix flawless gemstone from printing in the sacks page (#1227)
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/SacksPage.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/SacksPage.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/SacksPage.kt
index cd7186b6..96a3b0c2 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/SacksPage.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/SacksPage.kt
@@ -529,7 +529,7 @@ class SacksPage(pvInstance: GuiProfileViewer) : GuiProfileViewerPage(pvInstance)
for ((itemName, _) in sacksInfo.entrySet()) {
val adjustedName = itemName.replace(":", "-")
- if ((adjustedName in sackItems) || adjustedName.contains(Regex("(RUNE|PERFECT_|MUSHROOM_COLLECTION)"))) continue
+ if ((adjustedName in sackItems) || adjustedName.contains(Regex("(RUNE|PERFECT_|FLAWLESS_|MUSHROOM_COLLECTION)"))) continue
println("$adjustedName missing from repo sacks file!")
}