aboutsummaryrefslogtreecommitdiff
path: root/features/globalSettings/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-19 22:09:47 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-19 22:09:47 +0800
commitaf63b7d7eec9351fb27aadee0918577b7a7db17e (patch)
treec84bd43e97ad113ff57959024f0e36d16606730c /features/globalSettings/index.js
parenta8e7c68a4b91f9145c9c6635f36ba7cec7beda41 (diff)
downloadSoopyV2-af63b7d7eec9351fb27aadee0918577b7a7db17e.tar.gz
SoopyV2-af63b7d7eec9351fb27aadee0918577b7a7db17e.tar.bz2
SoopyV2-af63b7d7eec9351fb27aadee0918577b7a7db17e.zip
oops i made it only work when inv was closed (changed in pushed ver)
Diffstat (limited to 'features/globalSettings/index.js')
-rw-r--r--features/globalSettings/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index defc04e..f6f8539 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -452,7 +452,7 @@ class GlobalSettings extends Feature {
updateItemLores() {
if (!this.itemWorth.getValue() && !this.showChampion.getValue() && !this.showHecatomb.getValue()) return;
- if (Client.isInGui()) return
+ if (!Client.isInGui()) return
let items = [...Player.getInventory().getItems(), ...Player.getContainer().getItems()]