diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-16 01:49:24 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-06-16 01:49:24 +0200 |
commit | 2a6833888160dc4441f08bf42563f506aeedf99d (patch) | |
tree | ef0eb15292173833732ab061f09b91676cc9eddf /src/main | |
parent | 33758826af724a59ad98129c906ee9dec2e88d4c (diff) | |
download | skyhanni-2a6833888160dc4441f08bf42563f506aeedf99d.tar.gz skyhanni-2a6833888160dc4441f08bf42563f506aeedf99d.tar.bz2 skyhanni-2a6833888160dc4441f08bf42563f506aeedf99d.zip |
code cleanup
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/PasteIntoSigns.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/PasteIntoSigns.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/PasteIntoSigns.kt index 7e335c5e5..33f9bf219 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/PasteIntoSigns.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/PasteIntoSigns.kt @@ -14,7 +14,7 @@ class PasteIntoSigns { if (!LorenzUtils.onHypixel) return if (!SkyHanniMod.feature.misc.pasteIntoSigns) return - if (Keyboard.isKeyDown(Keyboard.KEY_LCONTROL) && Keyboard.isKeyDown(Keyboard.KEY_V)) { + if (LorenzUtils.isControlKeyDown() && Keyboard.isKeyDown(Keyboard.KEY_V)) { val clipboard = OSUtils.readFromClipboard() ?: return LorenzUtils.setTextIntoSign(clipboard.take(15)) } |