diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-16 12:43:36 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-01-16 12:43:36 +0100 |
commit | b66728511579381e3ea8630bd532d91a359c683c (patch) | |
tree | ccf3cdbc669c9bfe669e00719ba50b8e2687e967 /src/main/java/at/hannibal2 | |
parent | 50d707836599348816869881342cdc6038236620 (diff) | |
download | skyhanni-b66728511579381e3ea8630bd532d91a359c683c.tar.gz skyhanni-b66728511579381e3ea8630bd532d91a359c683c.tar.bz2 skyhanni-b66728511579381e3ea8630bd532d91a359c683c.zip |
Changed design of render text.
Diffstat (limited to 'src/main/java/at/hannibal2')
2 files changed, 5 insertions, 5 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 48854884e..340a55935 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 @@ -204,16 +204,16 @@ class DailyQuestHelper(val reputationHelper: CrimsonIsleReputationHelper) { val done = quests.count { it.state == QuestState.COLLECTED } // val sneaking = Minecraft.getMinecraft().thePlayer.isSneaking // if (done != 5 || sneaking) { + display.add("") + display.add("Daily Quests ($done/5 collected)") if (done != 5) { - display.add("") - display.add("Daily Quests ($done/5 collected)") for (quest in quests) { // if (!sneaking) { // if (quest.state == QuestState.COLLECTED) { // continue // } // } - display.add(renderQuest(quest)) + display.add(" " + renderQuest(quest)) } } } diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/miniboss/DailyMiniBossHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/miniboss/DailyMiniBossHelper.kt index 14892dff6..734b97daa 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/miniboss/DailyMiniBossHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/miniboss/DailyMiniBossHelper.kt @@ -55,12 +55,12 @@ class DailyMiniBossHelper(private val reputationHelper: CrimsonIsleReputationHel display.add("") display.add("Daily Bosses ($done/5 killed)") for (miniBoss in miniBosses) { - display.add(renderQuest(miniBoss)) + display.add(" " + renderBoss(miniBoss)) } } } - private fun renderQuest(miniBoss: CrimsonMiniBoss): String { + private fun renderBoss(miniBoss: CrimsonMiniBoss): String { val color = if (miniBoss.doneToday) "§7Done" else "§bTodo" val displayName = miniBoss.displayName return "$displayName: $color" |