diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-08-19 22:09:47 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-08-19 22:09:47 +0800 |
commit | af63b7d7eec9351fb27aadee0918577b7a7db17e (patch) | |
tree | c84bd43e97ad113ff57959024f0e36d16606730c | |
parent | a8e7c68a4b91f9145c9c6635f36ba7cec7beda41 (diff) | |
download | SoopyV2-af63b7d7eec9351fb27aadee0918577b7a7db17e.tar.gz SoopyV2-af63b7d7eec9351fb27aadee0918577b7a7db17e.tar.bz2 SoopyV2-af63b7d7eec9351fb27aadee0918577b7a7db17e.zip |
oops i made it only work when inv was closed (changed in pushed ver)
-rw-r--r-- | features/globalSettings/index.js | 2 |
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()] |