From af63b7d7eec9351fb27aadee0918577b7a7db17e Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Fri, 19 Aug 2022 22:09:47 +0800 Subject: oops i made it only work when inv was closed (changed in pushed ver) --- features/globalSettings/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()] -- cgit