aboutsummaryrefslogtreecommitdiff
path: root/features/globalSettings/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/globalSettings/index.js')
-rw-r--r--features/globalSettings/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js
index 04ac413..429cb23 100644
--- a/features/globalSettings/index.js
+++ b/features/globalSettings/index.js
@@ -431,6 +431,8 @@ class GlobalSettings extends Feature {
updateItemLores() {
if (!this.itemWorth.getValue() && !this.showChampion.getValue() && !this.showHecatomb.getValue()) return;
+ if (!Client.currentGui.get()) return
+
let items = [...Player.getInventory().getItems(), ...Player.getContainer().getItems()]
items.forEach(i => {