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/config | |
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/config')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt | 4 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/commands/SimpleCommand.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt index 57f95b56b..f7929c46b 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/Commands.kt @@ -34,12 +34,12 @@ import at.hannibal2.skyhanni.test.PacketTest import at.hannibal2.skyhanni.test.SkyHanniConfigSearchResetCommand import at.hannibal2.skyhanni.test.SkyHanniDebugsAndTests import at.hannibal2.skyhanni.test.TestBingo -import at.hannibal2.skyhanni.test.command.CopyErrorCommand import at.hannibal2.skyhanni.test.command.CopyItemCommand import at.hannibal2.skyhanni.test.command.CopyNearbyEntitiesCommand import at.hannibal2.skyhanni.test.command.CopyNearbyParticlesCommand import at.hannibal2.skyhanni.test.command.CopyScoreboardCommand import at.hannibal2.skyhanni.test.command.CopyTabListCommand +import at.hannibal2.skyhanni.test.command.ErrorManager import at.hannibal2.skyhanni.test.command.TestChatCommand import at.hannibal2.skyhanni.utils.APIUtil import at.hannibal2.skyhanni.utils.LorenzUtils @@ -270,7 +270,7 @@ object Commands { private fun internalCommands() { registerCommand("shshareinquis", "") { InquisitorWaypointShare.sendInquisitor() } - registerCommand("shcopyerror", "") { CopyErrorCommand.command(it) } + registerCommand("shcopyerror", "") { ErrorManager.command(it) } registerCommand("shstopcityprojectreminder", "") { CityProjectFeatures.disable() } registerCommand("shsendcontests", "") { GardenNextJacobContest.shareContestConfirmed(it) } registerCommand("shstopaccountupgradereminder", "") { AccountUpgradeReminder.disable() } diff --git a/src/main/java/at/hannibal2/skyhanni/config/commands/SimpleCommand.java b/src/main/java/at/hannibal2/skyhanni/config/commands/SimpleCommand.java index 9ff8ade64..0bb0bd664 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/commands/SimpleCommand.java +++ b/src/main/java/at/hannibal2/skyhanni/config/commands/SimpleCommand.java @@ -1,6 +1,6 @@ package at.hannibal2.skyhanni.config.commands; -import at.hannibal2.skyhanni.test.command.CopyErrorCommand; +import at.hannibal2.skyhanni.test.command.ErrorManager; import net.minecraft.command.CommandBase; import net.minecraft.command.ICommandSender; import net.minecraft.util.BlockPos; @@ -54,7 +54,7 @@ public class SimpleCommand extends CommandBase { try { runnable.processCommand(sender, args); } catch (Throwable e) { - CopyErrorCommand.INSTANCE.logError(e, "Error while running command /" + commandName); + ErrorManager.INSTANCE.logError(e, "Error while running command /" + commandName); } } |