From 7b3120d3973e9a0dee83319b305efd67e2b73201 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 18 Jan 2022 14:58:15 +0800 Subject: aaaaaaaa (also idk why it screwed the formatting) --- features/mining/index.js | 1 + 1 file changed, 1 insertion(+) (limited to 'features/mining') 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){ -- cgit