Skip to content

Commit

Permalink
fix hoppity compact chat incorrect detection of bought rabbit
Browse files Browse the repository at this point in the history
  • Loading branch information
sayomaki committed Jul 7, 2024
1 parent 6c1c000 commit 5b2ab08
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ object HoppityEggsCompactChat {
}

HoppityEggsManager.eggBoughtPattern.matchMatcher(event.message) {
rabbitBought = true
compactChat(event)
if (group("rabbitname").equals(lastName)) {
rabbitBought = true
compactChat(event)
}
}

HoppityEggsManager.rabbitFoundPattern.matchMatcher(event.message) {
Expand Down

0 comments on commit 5b2ab08

Please sign in to comment.