diff options
author | Sapodilla <jakebaxter8@hotmail.co.uk> | 2022-09-08 05:18:37 +0100 |
---|---|---|
committer | Sapodilla <jakebaxter8@hotmail.co.uk> | 2022-09-08 05:18:37 +0100 |
commit | d93b1e169f4d1066397a6895834906386b8eea2f (patch) | |
tree | b765ad27152c659ce441a1d98ffd2ef7166d0a39 | |
parent | 8fc13f59b30eb19be78aa2d1da4073459d1add1d (diff) | |
download | SoopyV2-d93b1e169f4d1066397a6895834906386b8eea2f.tar.gz SoopyV2-d93b1e169f4d1066397a6895834906386b8eea2f.tar.bz2 SoopyV2-d93b1e169f4d1066397a6895834906386b8eea2f.zip |
Removed warp autocomplete toggle
-rw-r--r-- | features/globalSettings/index.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index a1c6a3c..9ffbd36 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -60,7 +60,6 @@ class GlobalSettings extends Feature { this.itemWorth = new ToggleSetting("(Approximate) Item worth in lore", "Accounts for stuff like enchants/recombs ect", false, "item_worth", this) this.showHecatomb = new ToggleSetting("Show hecatomb enchant info in lore", "", true, "show_hecatomb", this) this.showChampion = new ToggleSetting("Show champion enchant info in lore", "", true, "show_champion", this) - this.warpCompletions = new ToggleSetting("Autocomplete warp locations with tab", "", true, "show_champion", this) this.thunderBottle = new ToggleSetting("Thunder Bottle Progress Display", "shows you the progress of thunder bottle in your inventory", false, "thunder_bottle", this); this.thunderBottleElement = new HudTextElement() @@ -148,10 +147,7 @@ class GlobalSettings extends Feature { //send command to server ChatLib.command("warp " + (name[0] || "")); }, (args) => { - if (this.warpCompletions.getValue()) - { return this.warps.filter(v => v.toLowerCase().startsWith(args[0])) - } else return [] }) this.registerStep(true, 4, this.mobThings) |