diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-02 15:36:37 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-02 15:36:37 +0200 |
commit | 0d9d4bbbb29d79e09264836a16d81468dd7f6ace (patch) | |
tree | e48e434c3531885d9b3d1e31789d9925e2bd772e /src/main/java | |
parent | a2d949f0e5f2736ff1853f9bb0ed94db6196eb86 (diff) | |
download | skyhanni-0d9d4bbbb29d79e09264836a16d81468dd7f6ace.tar.gz skyhanni-0d9d4bbbb29d79e09264836a16d81468dd7f6ace.tar.bz2 skyhanni-0d9d4bbbb29d79e09264836a16d81468dd7f6ace.zip |
typos
Diffstat (limited to 'src/main/java')
5 files changed, 9 insertions, 9 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java b/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java index 521901161..593a95ba9 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Minions.java @@ -12,7 +12,7 @@ public class Minions { public boolean nameDisplay = true; @Expose - @ConfigOption(name = "Only Tier", desc = "Show only the tier number over the minion.") + @ConfigOption(name = "Only Tier", desc = "Show only the tier number over the minion. (Useful for bingo)") @ConfigEditorBoolean public boolean nameOnlyTier = false; diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt index eae5215ba..b00a7de19 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoCardDisplay.kt @@ -127,7 +127,7 @@ class BingoCardDisplay { private fun drawDisplay(): MutableList<String> { val newList = mutableListOf<String>() - newList.add("Community Goals") + newList.add("§6Community Goals:") if (communityGoals.isEmpty()) { newList.add("§cOpen the §e/bingo §ccard.") } else { @@ -136,7 +136,7 @@ class BingoCardDisplay { val todo = personalGoals.filter { !it.done } val done = MAX_PERSONAL_GOALS - todo.size newList.add(" ") - newList.add("Personal Goals: ($done/$MAX_PERSONAL_GOALS done)") + newList.add("§6Personal Goals: ($done/$MAX_PERSONAL_GOALS done)") todo.mapTo(newList) { " " + it.description } } return newList diff --git a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt index af909605e..791680545 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/bingo/BingoNextStepHelper.kt @@ -47,7 +47,7 @@ class BingoNextStepHelper { private fun drawDisplay(print: Boolean): MutableList<String> { val newCurrentHelp = mutableListOf<String>() - newCurrentHelp.add("Bingo Step Helper") + newCurrentHelp.add("§6Bingo Step Helper:") if (currentSteps.isEmpty()) { newCurrentHelp.add("§cOpen the §e/bingo §ccard.") diff --git a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionData.kt b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionData.kt index 02ee25b51..e05e56544 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionData.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionData.kt @@ -2,4 +2,4 @@ package at.hannibal2.skyhanni.features.minion import scala.Serializable -class MinionData(var name: String,var lastClicked: Long) : Serializable
\ No newline at end of file +class MinionData(var displayName: String, var lastClicked: Long) : Serializable
\ No newline at end of file diff --git a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt index abf97977e..1f020abcc 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/minion/MinionFeatures.kt @@ -102,8 +102,8 @@ class MinionFeatures { minions[it] = MinionData(name, 0) saveConfig() } else { - if (minions[it]!!.name != name) { - minions[it]!!.name = name + if (minions[it]!!.displayName != name) { + minions[it]!!.displayName = name saveConfig() } } @@ -189,7 +189,7 @@ class MinionFeatures { val coordinates = minion.key.encodeToString() val data = minion.value minionConfig[coordinates] = data.lastClicked - minionName[coordinates] = data.name + minionName[coordinates] = data.displayName } } @@ -229,7 +229,7 @@ class MinionFeatures { if (playerLocation.distance(location) >= config.distance) continue if (config.nameDisplay) { - val displayName = minion.value.name + val displayName = minion.value.displayName val name = "§6" + if (config.nameOnlyTier) { displayName.split(" ").last() } else displayName |