diff options
Diffstat (limited to 'features/globalSettings')
-rw-r--r-- | features/globalSettings/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index ca1519b..ffa7b9f 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -130,6 +130,7 @@ class GlobalSettings extends Feature { let oldItem = this.oldItemData[j] let newItem = i if (!oldItem && !newItem) return //they both are air + if (j > 36 || j == 9) return //sbmenu and armors (when switching wardrobe it goes brrr w/o this) let oldItemAmount = oldItem ? oldItem.getNBT().toObject()?.Count : 0 let oldItemName = oldItem ? oldItem.getName() : "" let newItemAmount = newItem ? newItem.getNBT().toObject()?.Count : 0 |