Skip to content

Commit

Permalink
fix: šŸ› Fixed tinted chests to not get named Acacia on the first placeā€¦
Browse files Browse the repository at this point in the history
ā€¦ment
  • Loading branch information
P3pp3rF1y committed Oct 1, 2024
1 parent 94bfd65 commit 3114b28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.daemon=false

mod_id=sophisticatedstorage
mod_group_id=sophisticatedstorage
mod_version=0.10.43
mod_version=0.10.44
sonar_project_key=sophisticatedstorage:SophisticatedStorage
github_package_url=https://maven.pkg.github.com/P3pp3rF1y/SophisticatedStorage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ public BlockState getStateForPlacement(BlockPlaceContext context) {

Direction direction = context.getHorizontalDirection().getOpposite();
return chestBeingPlaced.getCapability(CapabilityStorageWrapper.getCapabilityInstance())
.filter(wrapper -> wrapper.getContentsUuid().isPresent())
.map(wrapper ->
getStateForPlacement(context, direction, fluidstate,
StorageBlockItem.getMainColorFromStack(chestBeingPlaced).orElse(-1),
Expand Down

0 comments on commit 3114b28

Please sign in to comment.