Skip to content

Commit

Permalink
[update] hatCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
topi-banana committed Apr 23, 2024
1 parent 911c588 commit af02a40
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/taichiCarpet/utils/ItemUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ public static boolean isEmptyShulkerBox(ItemStack stack) {
NbtCompound blockEntityTagNbt = nbt.getCompound("BlockEntityTag");
if (blockEntityTagNbt != null) {
if (blockEntityTagNbt.contains("Items")) {
NbtList itemList = blockEntityTagNbt.getList("Items", 10);
if (itemList.isEmpty()) {
return true;
}
return true;
}
}
}
Expand Down

0 comments on commit af02a40

Please sign in to comment.