aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-01-31 08:26:32 +1100
committerGitHub <noreply@github.com>2024-01-30 22:26:32 +0100
commitaa824493ab33aa4386eeb7fdf17c272af5c3bc63 (patch)
treee542b7c3457f70a65e91680265e1adf54a7c18dc /src/main/java/at/hannibal2/skyhanni/utils
parentf17ac28f0531d0f1f3c787ba93a3944f8ad52bfb (diff)
downloadskyhanni-aa824493ab33aa4386eeb7fdf17c272af5c3bc63.tar.gz
skyhanni-aa824493ab33aa4386eeb7fdf17c272af5c3bc63.tar.bz2
skyhanni-aa824493ab33aa4386eeb7fdf17c272af5c3bc63.zip
Fix & Backend: fix rep helper sacks also convert rep helper to use NEUInternalName (#963)
Using NEUInternalName in Reputation Helper Quest. Removed Quest Item Helper. Fixed Reputation Helper in Crimson Isle showing correct sack amount. #963
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
index fe4725b86..9ee2c42e8 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt
@@ -227,13 +227,13 @@ object LorenzUtils {
fun formatPercentage(percentage: Double, format: String?): String =
DecimalFormat(format).format(percentage * 100).replace(',', '.') + "%"
- @Deprecated("old code", ReplaceWith("addSeparator()"))
+ @Deprecated("old code", ReplaceWith("addSeparators()"))
fun formatInteger(i: Int): String = i.addSeparators()
- @Deprecated("old code", ReplaceWith("addSeparator()"))
+ @Deprecated("old code", ReplaceWith("addSeparators()"))
fun formatInteger(l: Long): String = l.addSeparators()
- @Deprecated("old code", ReplaceWith("round() and addSeparator()"))
+ @Deprecated("old code", ReplaceWith("round() and addSeparators()"))
fun formatDouble(d: Double, round: Int = 1): String {
return d.round(round).addSeparators()
}