diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-08-29 00:53:23 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-28 16:53:23 +0200 |
| commit | 9cedfec16e4a80819f19755cef15a7d8a646e877 (patch) | |
| tree | 04f3e30a92c626c7379990e2f08a1e31b453b043 | |
| parent | f734de35665a7133b372d2a05d43a6e2c467431f (diff) | |
| download | notenoughupdates-9cedfec16e4a80819f19755cef15a7d8a646e877.tar.gz notenoughupdates-9cedfec16e4a80819f19755cef15a7d8a646e877.tar.bz2 notenoughupdates-9cedfec16e4a80819f19755cef15a7d8a646e877.zip | |
Fix visitors in /pv getting bigger on profile swap (#1338)
| -rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/GardenPage.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/GardenPage.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/GardenPage.kt index ce436287..776a922e 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/GardenPage.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/GardenPage.kt @@ -153,6 +153,8 @@ class GardenPage(pvInstance: GuiProfileViewer) : GuiProfileViewerPage(pvInstance } private fun getVisitorData() { + visitorRarityToVisits.clear() + visitorRarityToCompleted.clear() for ((visitor, amount) in gardenData?.commissionData?.visits ?: return) { val rarity = repoData.visitors[visitor] if (rarity == null) { |
