Skip to content

Commit

Permalink
Fix data remove Items on blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
ICY105 committed Aug 22, 2023
1 parent 64e8544 commit e09f2bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ org.gradle.jvmargs=-Xmx2G
loader_version=0.14.21

# Mod Properties
mod_version = 0.6.9
mod_version = 0.6.10
maven_group = dev.smithed
archives_base_name = radon

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public static NbtCompound readFilteredNbt(NbtCompound nbt, DefaultedList<ItemSta
stacks.set(j, ItemStack.fromNbt(nbtCompound));
}
}

if(nbtList.size() == 0) {
stacks.set(slot, ItemStack.EMPTY);
}
}
return nbt;
}
Expand Down

0 comments on commit e09f2bf

Please sign in to comment.