diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-01-18 14:58:15 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-01-18 14:58:15 +0800 |
commit | 7b3120d3973e9a0dee83319b305efd67e2b73201 (patch) | |
tree | 599041c230b32180fe689b552f2546ed7781e02b /features/mining | |
parent | 80a88035ee2f4374cad6e870010876352773a2a4 (diff) | |
download | SoopyV2-7b3120d3973e9a0dee83319b305efd67e2b73201.tar.gz SoopyV2-7b3120d3973e9a0dee83319b305efd67e2b73201.tar.bz2 SoopyV2-7b3120d3973e9a0dee83319b305efd67e2b73201.zip |
aaaaaaaa (also idk why it screwed the formatting)
Diffstat (limited to 'features/mining')
-rw-r--r-- | features/mining/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/features/mining/index.js b/features/mining/index.js index 5c34b9b..fb2db0f 100644 --- a/features/mining/index.js +++ b/features/mining/index.js @@ -86,6 +86,7 @@ class Mining extends Feature { * @param {Item} item */ addLore(item){ + if(!item) return if(this.showUnlockedGemstoneSlots.getValue()){ let gems = item.getNBT().getCompoundTag("tag").getCompoundTag("ExtraAttributes").getCompoundTag("gems") if(gems){ |