aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/event
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-09-29 18:10:12 +1000
committerGitHub <noreply@github.com>2024-09-29 10:10:12 +0200
commit37a186a932fcd81cfed66642e6a7833937f43b3a (patch)
tree46c88685f9b9ce804366d68bb96cb02a8e8b3ae4 /src/main/java/at/hannibal2/skyhanni/features/event
parent1f4ce6c4207fe6ef6eaff48a35f61b18a524a429 (diff)
downloadskyhanni-37a186a932fcd81cfed66642e6a7833937f43b3a.tar.gz
skyhanni-37a186a932fcd81cfed66642e6a7833937f43b3a.tar.bz2
skyhanni-37a186a932fcd81cfed66642e6a7833937f43b3a.zip
Backend: Detekt Fixes Part 2 (#2607)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/event')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/carnival/CarnivalZombieShootout.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsCompactChat.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/carnival/CarnivalZombieShootout.kt b/src/main/java/at/hannibal2/skyhanni/features/event/carnival/CarnivalZombieShootout.kt
index b49eb0642..9edf05b7b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/carnival/CarnivalZombieShootout.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/carnival/CarnivalZombieShootout.kt
@@ -127,7 +127,7 @@ object CarnivalZombieShootout {
content = Renderable.horizontalContainer(
listOf(
Renderable.itemStack(lamp),
- Renderable.string("§6Disappears in $prefix${timer}"),
+ Renderable.string("§6Disappears in $prefix$timer"),
),
spacing = 1,
verticalAlign = RenderUtils.VerticalAlignment.CENTER,
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsCompactChat.kt b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsCompactChat.kt
index 0803cd0ea..9b9276420 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsCompactChat.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityEggsCompactChat.kt
@@ -105,7 +105,7 @@ object HoppityEggsCompactChat {
"$mealNameFormat! §7Duplicate ${if (showDupeRarity) "$lastRarity " else ""}$lastName$dupeNumberFormat §7(§6+$format Chocolate§7$timeStr)"
} else if (newRabbit) {
val showNewRarity = rarityConfig.let { it == RarityType.BOTH || it == RarityType.NEW }
- "$mealNameFormat! §d§lNEW ${if (showNewRarity) "$lastRarity " else ""}$lastName §7(${lastProfit}§7)"
+ "$mealNameFormat! §d§lNEW ${if (showNewRarity) "$lastRarity " else ""}$lastName §7($lastProfit§7)"
} else "?"
}