diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-14 16:27:10 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-14 16:27:10 +0200 |
commit | 7b5f78fe30e2c84ea5a9bf01f92bb8ea4397a19a (patch) | |
tree | 3af4a0a6955e4ea81f7e008ded4f196c01fb4998 /src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt | |
parent | b4648fe70ce0538325ed6df3ad068e9fe9237c0c (diff) | |
download | skyhanni-7b5f78fe30e2c84ea5a9bf01f92bb8ea4397a19a.tar.gz skyhanni-7b5f78fe30e2c84ea5a9bf01f92bb8ea4397a19a.tar.bz2 skyhanni-7b5f78fe30e2c84ea5a9bf01f92bb8ea4397a19a.zip |
renamed CopyErrorCommand to ErrorManager
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt index 72a364ec1..bc5a6c25d 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt @@ -5,7 +5,7 @@ import at.hannibal2.skyhanni.config.ConfigManager import at.hannibal2.skyhanni.config.Features import at.hannibal2.skyhanni.config.core.config.Position import at.hannibal2.skyhanni.data.ProfileStorageData -import at.hannibal2.skyhanni.test.command.CopyErrorCommand +import at.hannibal2.skyhanni.test.command.ErrorManager import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzUtils.makeAccessible import at.hannibal2.skyhanni.utils.NumberUtil.addSeparators @@ -57,7 +57,7 @@ object SkyHanniConfigSearchResetCommand { field.set(parent, defaultObject) "§eSuccessfully reset config element '$term'" } catch (e: Exception) { - CopyErrorCommand.logError(e, "Could not reset config element '$term'") + ErrorManager.logError(e, "Could not reset config element '$term'") "§cCould not reset config element '$term'" } } @@ -68,7 +68,7 @@ object SkyHanniConfigSearchResetCommand { return try { startSearch(args) } catch (e: Exception) { - CopyErrorCommand.logError(e, "Error while trying to search config") + ErrorManager.logError(e, "Error while trying to search config") "§cError while trying to search config" } } @@ -108,7 +108,7 @@ object SkyHanniConfigSearchResetCommand { shimmy.setJson(element) "§eChanged config element $term." } catch (e: Exception) { - CopyErrorCommand.logError(e, "Could not change config element '$term' to '$rawJson'") + ErrorManager.logError(e, "Could not change config element '$term' to '$rawJson'") "§cCould not change config element '$term' to '$rawJson'" } } |