diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-08-29 21:44:51 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-08-29 21:44:51 +0800 |
commit | c4a628c51db919199629aa7639e8f3df33de4b7f (patch) | |
tree | 17792e6b4eadae9914312b3d1b99ccb26892d2e0 | |
parent | 6586dca12e148d942bd949ab635c56f09290003c (diff) | |
download | SoopyV2-c4a628c51db919199629aa7639e8f3df33de4b7f.tar.gz SoopyV2-c4a628c51db919199629aa7639e8f3df33de4b7f.tar.bz2 SoopyV2-c4a628c51db919199629aa7639e8f3df33de4b7f.zip |
fix incorrect keybind crashing events category
-rw-r--r-- | features/events/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/events/index.js b/features/events/index.js index 1b51607..4044429 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -87,7 +87,7 @@ class Events extends Feature { this.warpBind = getKeyBindFromKey(Keyboard[this.warpBindDefault.getValue()], "Warp to nearest location to burrial guess"); } catch (e) { ChatLib.chat(this.FeatureManager.messagePrefix + this.warpBindDefault.getValue() + " is an invalid keyboard key, see https://legacy.lwjgl.org/javadoc/org/lwjgl/input/Keyboard.html") - this.warpBind = getKeyBindFromKey("CHAR_NONE", "Warp to nearest location to burrial guess"); + this.warpBind = getKeyBindFromKey(Keyboard.CHAR_NONE, "Warp to nearest location to burrial guess"); } this.slayerLocationDataH = {} |