diff options
Diffstat (limited to 'features/mining/index.js')
-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 fb2db0f..a2cfccf 100644 --- a/features/mining/index.js +++ b/features/mining/index.js @@ -153,6 +153,7 @@ class Mining extends Feature { slots.forEach(a=>{ item = Player.getInventory().getStackInSlot(a) + if(!item) return if(item.getNBT()?.getCompoundTag("tag")?.getCompoundTag("ExtraAttributes")?.getInteger("compact_blocks")){ this.compactItems++ this.totalCompact += item.getNBT().getCompoundTag("tag").getCompoundTag("ExtraAttributes").getInteger("compact_blocks") |