aboutsummaryrefslogtreecommitdiff
path: root/features/globalSettings
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-19 21:36:33 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-19 21:36:33 +0800
commit55776850ead3263aa8ea7f12fd26cf373c0b5c06 (patch)
treeca1faf560f40b5a5f7985d8accdadcd746b02c93 /features/globalSettings
parent2ae4a9e1d2439a1590ab3b3f030fb3e7f4ba1a9a (diff)
downloadSoopyV2-55776850ead3263aa8ea7f12fd26cf373c0b5c06.tar.gz
SoopyV2-55776850ead3263aa8ea7f12fd26cf373c0b5c06.tar.bz2
SoopyV2-55776850ead3263aa8ea7f12fd26cf373c0b5c06.zip
+ fix mana bar not showing cus update
+ fix mining progress resetting due to item price data + add carpentary to hud stat
Diffstat (limited to 'features/globalSettings')
-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 => {