aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-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)