diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-12 13:34:42 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-12 13:34:42 +0200 |
| commit | 06ef6be0fd0b7085c7121f100dff354311287e2b (patch) | |
| tree | a001a11533641cff0b5194a0b29984f49a47fb63 /src/main/java/at/hannibal2/skyhanni/test/command | |
| parent | db0cd17c7019c072a5043ae8d0dca8ce6459fb32 (diff) | |
| download | skyhanni-06ef6be0fd0b7085c7121f100dff354311287e2b.tar.gz skyhanni-06ef6be0fd0b7085c7121f100dff354311287e2b.tar.bz2 skyhanni-06ef6be0fd0b7085c7121f100dff354311287e2b.zip | |
code cleanup, There are no Utils registered as listeners, and replacing OSUtils.isKeyHeld(key) to key.isKeyHeld()
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test/command')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/command/CopyErrorCommand.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/command/CopyErrorCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/command/CopyErrorCommand.kt index 6c2ef3a37..8c713558f 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/command/CopyErrorCommand.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/command/CopyErrorCommand.kt @@ -1,7 +1,7 @@ package at.hannibal2.skyhanni.test.command import at.hannibal2.skyhanni.SkyHanniMod -import at.hannibal2.skyhanni.utils.KeyboardUtils +import at.hannibal2.skyhanni.utils.KeyboardManager import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.OSUtils import at.hannibal2.skyhanni.utils.StringUtils.removeColor @@ -30,7 +30,7 @@ object CopyErrorCommand { } val id = array[0] - val fullErrorMessage = KeyboardUtils.isControlKeyDown() + val fullErrorMessage = KeyboardManager.isControlKeyDown() val errorMessage = if (fullErrorMessage) { fullErrorMessages[id] } else { |
