Skip to content

Commit

Permalink
Fix: Hoppity wrong amount (#2686)
Browse files Browse the repository at this point in the history
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
  • Loading branch information
hannibal002 and hannibal002 authored Oct 7, 2024
1 parent df210dc commit 3b61c48
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,11 @@ object HoppityCollectionStats {

val found = !rabbitNotFoundPattern.anyMatches(itemLore)

if (!found) continue
if (!found) {
// if the config has wrong data, remove it
loggedRabbits.remove(itemName)
continue
}

val duplicates = duplicatesFoundPattern.firstMatcher(itemLore) {
group("duplicates").formatInt()
Expand Down

0 comments on commit 3b61c48

Please sign in to comment.