Skip to content

Commit

Permalink
fix: 🐛 Fixed tooltip of result in decoration table to properly show d…
Browse files Browse the repository at this point in the history
…ye parts required when chest/shulker is being decorated even if a material is one of the material slots (would previously incorrectly show that material as cost)
  • Loading branch information
P3pp3rF1y committed Dec 3, 2024
1 parent 28e6305 commit 6898af1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ loader_version_range=[4,)
mod_id=sophisticatedstorage
mod_name=Sophisticated Storage
mod_license=GNU General Public License v3.0
mod_version=0.11.1
mod_version=0.11.2
mod_group_id=sophisticatedstorage
mod_authors=P3pp3rF1y, Ridanisaurus
mod_description=Fancy and functional storage containers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,8 @@ private void addMaterialPartsNeeded(Map<ResourceLocation, Integer> partsNeeded,

public Map<ResourceLocation, Integer> getPartsNeeded() {
Map<ResourceLocation, Integer> partsNeeded = new HashMap<>();
if (InventoryHelper.isEmpty(decorativeBlocks)) {
ItemStack storageStack = storageBlock.getStackInSlot(0);
ItemStack storageStack = storageBlock.getStackInSlot(0);
if (InventoryHelper.isEmpty(decorativeBlocks) || !(storageStack.getItem() instanceof BarrelBlockItem)) {
addDyePartsNeeded(storageStack, partsNeeded);

} else {
Expand Down

0 comments on commit 6898af1

Please sign in to comment.