aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-16 10:16:21 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-16 10:16:21 +0200
commit4a8520f031048f5c41cbb5d9289465ede60d9715 (patch)
tree9efb57c3e1cb052eb32cc8036b8b8043be9d9328 /src/main
parent393580149e379d01d61bac60fd13187ed911cdfb (diff)
downloadskyhanni-4a8520f031048f5c41cbb5d9289465ede60d9715.tar.gz
skyhanni-4a8520f031048f5c41cbb5d9289465ede60d9715.tar.bz2
skyhanni-4a8520f031048f5c41cbb5d9289465ede60d9715.zip
code cleanup
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorAPI.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mining/MineshaftPityDisplay.kt4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorAPI.kt
index 19aa098f6..d621aa081 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/VisitorAPI.kt
@@ -164,7 +164,7 @@ object VisitorAPI {
REFUSED("§cRefused", LorenzColor.RED.toColor().withAlpha(60)),
}
- fun visitorsInTabList(tabList: List<String>): MutableList<String> {
+ fun visitorsInTabList(tabList: List<String>): List<String> {
var visitorCount = 0
var found = false
var visitorsRemaining = 0
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/MineshaftPityDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/MineshaftPityDisplay.kt
index 731a8ca4a..383ecc135 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/mining/MineshaftPityDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/mining/MineshaftPityDisplay.kt
@@ -130,7 +130,7 @@ object MineshaftPityDisplay {
if (!lastMineshaftSpawn.isFarPast()) {
hover.add("")
- hover.add("§7Time since Last Mineshaft: §e${lastMineshaftSpawn.passedSince().format()}")
+ hover.add("§7Time since Last Mineshaft: §b${lastMineshaftSpawn.passedSince().format()}")
}
resetCounter()
@@ -207,7 +207,7 @@ object MineshaftPityDisplay {
put(
MineshaftPityLines.CHANCE,
Renderable.string(
- "§3Chance: §e1§6/§e${chance.round(1)} §7(§b${((1.0 / chance) * 100).addSeparators()}%§7)",
+ "§3Chance: §e1§6/§e${chance.round(1).addSeparators()} §7(§b${((1.0 / chance) * 100).addSeparators()}%§7)",
),
)
put(MineshaftPityLines.NEEDED_TO_PITY, neededToPityRenderable)