aboutsummaryrefslogtreecommitdiff
path: root/features/mining
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-18 14:58:15 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-18 14:58:15 +0800
commit7b3120d3973e9a0dee83319b305efd67e2b73201 (patch)
tree599041c230b32180fe689b552f2546ed7781e02b /features/mining
parent80a88035ee2f4374cad6e870010876352773a2a4 (diff)
downloadSoopyV2-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.js1
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){