Skip to content

Commit

Permalink
Update structurize (#10370)
Browse files Browse the repository at this point in the history
Update structurize
  • Loading branch information
Nightenom authored Oct 28, 2024
1 parent f6848b3 commit ab003ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public List<ItemStack> getRequiredItems(
final List<ItemStack> itemList = new ArrayList<>();
itemList.add(BlockUtils.getItemStackFromBlockState(blockState));

for (final ItemStack stack : PlacementHandlers.getItemsFromTileEntity(tileEntityData, blockState, world.registryAccess()))
for (final ItemStack stack : PlacementHandlers.getItemsFromTileEntity(tileEntityData, blockState, world))
{
if (!ItemStackUtils.isEmpty(stack))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public List<ItemStack> getRequiredItems(
}

itemList.add(BlockUtils.getItemStackFromBlockState(blockState));
for (final ItemStack stack : PlacementHandlers.getItemsFromTileEntity(tileEntityData, blockState, world.registryAccess()))
for (final ItemStack stack : PlacementHandlers.getItemsFromTileEntity(tileEntityData, blockState, world))
{
if (!ItemStackUtils.isEmpty(stack))
{
Expand Down

0 comments on commit ab003ba

Please sign in to comment.