From aa824493ab33aa4386eeb7fdf17c272af5c3bc63 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Wed, 31 Jan 2024 08:26:32 +1100 Subject: 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 --- src/main/java/at/hannibal2/skyhanni/utils/LorenzUtils.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni/utils') 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() } -- cgit