Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Fix raid cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
ilpersi committed Nov 26, 2020
1 parent 223f87f commit f0ce908
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/github/ilpersi/BHBot/DungeonThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -2381,12 +2381,12 @@ private void processDungeon() {
} else {

//close 'cleared' popup
Cue YesGreenWithBounds = null;
Bounds yesGreen = null;
if (BHBot.State.Raid.equals(bot.getState())) {
YesGreenWithBounds = new Cue(BHBot.cues.get("YesGreen"), Bounds.fromWidthHeight(290, 345, 70, 45));
yesGreen = Bounds.fromWidthHeight(290, 345, 70, 45);
}

bot.browser.closePopupSecurely(BHBot.cues.get("Cleared"), YesGreenWithBounds);
bot.browser.closePopupSecurely(BHBot.cues.get("Cleared"), new Cue(BHBot.cues.get("YesGreen"), yesGreen));

// close the activity window to return us to the main screen
if (bot.getState() != BHBot.State.Expedition) {
Expand Down

0 comments on commit f0ce908

Please sign in to comment.