From 51d192a2a57dd8f11ed599aa05fcd3a97e9044cd Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Fri, 12 Jul 2024 15:50:21 +0200 Subject: Fix duplicate Balloon Hat counting to Magical Power in PV (#1242) --- .../moulberry/notenoughupdates/profileviewer/ProfileViewerUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit