aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-16 01:49:24 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-16 01:49:24 +0200
commit2a6833888160dc4441f08bf42563f506aeedf99d (patch)
treeef0eb15292173833732ab061f09b91676cc9eddf /src/main
parent33758826af724a59ad98129c906ee9dec2e88d4c (diff)
downloadskyhanni-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.kt2
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))
}