aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2024-07-12 15:50:21 +0200
committerGitHub <noreply@github.com>2024-07-12 15:50:21 +0200
commit51d192a2a57dd8f11ed599aa05fcd3a97e9044cd (patch)
tree68b734c75527efe86199abf67e9c7c4ba29c58ee
parent98f4f6140ab8371f1fd18846f5489318af2b2252 (diff)
downloadnotenoughupdates-51d192a2a57dd8f11ed599aa05fcd3a97e9044cd.tar.gz
notenoughupdates-51d192a2a57dd8f11ed599aa05fcd3a97e9044cd.tar.bz2
notenoughupdates-51d192a2a57dd8f11ed599aa05fcd3a97e9044cd.zip
Fix duplicate Balloon Hat counting to Magical Power in PV (#1242)
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java
index 11c682fc..22423c66 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java
@@ -149,7 +149,7 @@ public class ProfileViewerUtils {
}
}
- if (entry.getKey().startsWith("PARTY_HAT")) {
+ if (entry.getKey().startsWith("PARTY_HAT") || entry.getKey().startsWith("BALLOON_HAT")) {
if (countedCrabHat) continue;
countedCrabHat = true;
}