aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorAlexia <me@alexia.lol>2024-03-13 20:36:57 +0100
committerGitHub <noreply@github.com>2024-03-13 20:36:57 +0100
commit8f16e006304ae7186772e09115b0daac7c881d86 (patch)
tree9c7b964ae231f0d8becb67765b4508d1eae676e7 /src/main/java/at
parent7620387231fd25c17a0a6518caf7972d55842893 (diff)
downloadskyhanni-8f16e006304ae7186772e09115b0daac7c881d86.tar.gz
skyhanni-8f16e006304ae7186772e09115b0daac7c881d86.tar.bz2
skyhanni-8f16e006304ae7186772e09115b0daac7c881d86.zip
Improvement: Show Town Board with accepted Rescue Mission quest (#1157)
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt
index 4bf989c31..9b420ba9c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/DailyQuestHelper.kt
@@ -176,7 +176,10 @@ class DailyQuestHelper(val reputationHelper: CrimsonIsleReputationHelper) {
}
private fun renderTownBoard(event: LorenzRenderWorldEvent) {
- if (quests.any { it.state == QuestState.READY_TO_COLLECT || it.state == QuestState.NOT_ACCEPTED }) {
+ if (quests.any {
+ it.state == QuestState.READY_TO_COLLECT ||
+ it.state == QuestState.NOT_ACCEPTED ||
+ (it is RescueMissionQuest && it.state == QuestState.ACCEPTED) }) {
val location = when (reputationHelper.factionType) {
FactionType.BARBARIAN -> townBoardBarbarian
FactionType.MAGE -> townBoardMage