From c4a628c51db919199629aa7639e8f3df33de4b7f Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Mon, 29 Aug 2022 21:44:51 +0800 Subject: fix incorrect keybind crashing events category --- features/events/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/events/index.js') 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 = {} -- cgit