diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-06-21 07:39:24 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 23:39:24 +0200 |
commit | d534f73b63578d384c7a69462ca18cf0883926f5 (patch) | |
tree | 80e21e1f0ec41c5dee47712c5d2144281afeb0e7 /src/main/java/at/hannibal2/skyhanni/features/combat | |
parent | 6410dcf999a08d4b6625fdc25f2db148c9df8338 (diff) | |
download | skyhanni-d534f73b63578d384c7a69462ca18cf0883926f5.tar.gz skyhanni-d534f73b63578d384c7a69462ca18cf0883926f5.tar.bz2 skyhanni-d534f73b63578d384c7a69462ca18cf0883926f5.zip |
Backend: Remove deprecated function ChatUtils.error (#2021)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/combat')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/combat/ghostcounter/GhostUtil.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/combat/ghostcounter/GhostUtil.kt b/src/main/java/at/hannibal2/skyhanni/features/combat/ghostcounter/GhostUtil.kt index 7da6d6704..baacbfa43 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/combat/ghostcounter/GhostUtil.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/combat/ghostcounter/GhostUtil.kt @@ -3,6 +3,7 @@ package at.hannibal2.skyhanni.features.combat.ghostcounter import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.config.ConfigManager import at.hannibal2.skyhanni.data.ProfileStorageData +import at.hannibal2.skyhanni.test.command.ErrorManager import at.hannibal2.skyhanni.utils.ChatUtils import at.hannibal2.skyhanni.utils.NumberUtil.addSeparators import at.hannibal2.skyhanni.utils.NumberUtil.roundToPrecision @@ -85,7 +86,7 @@ object GhostUtil { c.ctDataImported = true ChatUtils.chat("§aImported data successfully!") } else - ChatUtils.error("GhostCounterV3 ChatTriggers module not found!") + ErrorManager.skyHanniError("GhostCounterV3 ChatTriggers module not found!") } fun String.formatText(option: GhostData.Option) = formatText(option.getInt(), option.getInt(true)) |