diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-03 16:44:02 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-03-03 16:44:02 +0100 |
commit | e859d2873c11d24cbd8966bfcb06c80dd8901ab3 (patch) | |
tree | e52d2d3bed274545dcaca6bae11a831734aa422b /src/main/java | |
parent | 277e341240e938683cc85ead741444e7fe9e809f (diff) | |
download | skyhanni-e859d2873c11d24cbd8966bfcb06c80dd8901ab3.tar.gz skyhanni-e859d2873c11d24cbd8966bfcb06c80dd8901ab3.tar.bz2 skyhanni-e859d2873c11d24cbd8966bfcb06c80dd8901ab3.zip |
Formatting
Diffstat (limited to 'src/main/java')
4 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/playerchat/PlayerChatModifier.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/playerchat/PlayerChatModifier.kt index f10d8fd4c..ba144e9db 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/playerchat/PlayerChatModifier.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/playerchat/PlayerChatModifier.kt @@ -76,6 +76,7 @@ class PlayerChatModifier { string = string.replace("§(?:7|a|b|6)((?:\\w+){2,16})'s", "§b$1's") string = string.replace("§(?:7|a|b|6)((?:\\w+){2,16}) (§.)", "§b$1 $2") + // TODO remove workaround if (!DungeonMilestonesDisplay.isMilestoneMessage(input)) { //all players same color in chat string = string.replace("§r§7: ", "§r§f: ") diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt index 83b38fb85..44a376e17 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenVisitorTimer.kt @@ -54,7 +54,7 @@ class GardenVisitorTimer { "Next in §e$formatDuration$extraSpeed" } val visitorLabel = if (visitorsAmount == 1) "visitor" else "visitors" - render = "§b$visitorsAmount $visitorLabel §f($next§f)" + render = "§b$visitorsAmount $visitorLabel §7($next§7)" } @SubscribeEvent diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt index 06498031a..cc3f842aa 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/SkyMartBestProfit.kt @@ -58,7 +58,7 @@ class SkyMartBestProfit { iconMap[name] = NEUItems.getItemStack(internalName) val advancedStats = if (config.skyMartCopperPriceAdvancedStats) { - " §f(§6$priceFormat §f/ §c$amountFormat Copper§f)" + " §7(§6$priceFormat §f/ §c$amountFormat Copper§7)" } else "" val pair = Pair(name, "§6§l$perFormat$advancedStats") priceMap[pair] = factor 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 47f79d786..9b4d6f882 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 @@ -253,7 +253,7 @@ class DailyQuestHelper(val reputationHelper: CrimsonIsleReputationHelper) { } else { "§c" } - " §f($color$amountFormat §fin sacks)" + " §7($color$amountFormat §7in sacks)" } else { "" } |