From ab003bad0e84826c5c54207a956739b9d8b4bc2f Mon Sep 17 00:00:00 2001 From: Nightenom <17338378+Nightenom@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:57:33 +0100 Subject: [PATCH] Update structurize (#10370) Update structurize --- .../core/placementhandlers/GravePlacementHandler.java | 2 +- .../core/placementhandlers/RackPlacementHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minecolonies/core/placementhandlers/GravePlacementHandler.java b/src/main/java/com/minecolonies/core/placementhandlers/GravePlacementHandler.java index f6ab45eb4d1..c75732b4fbe 100644 --- a/src/main/java/com/minecolonies/core/placementhandlers/GravePlacementHandler.java +++ b/src/main/java/com/minecolonies/core/placementhandlers/GravePlacementHandler.java @@ -72,7 +72,7 @@ public List getRequiredItems( final List 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)) { diff --git a/src/main/java/com/minecolonies/core/placementhandlers/RackPlacementHandler.java b/src/main/java/com/minecolonies/core/placementhandlers/RackPlacementHandler.java index b189dd4923b..5d5bc08735f 100644 --- a/src/main/java/com/minecolonies/core/placementhandlers/RackPlacementHandler.java +++ b/src/main/java/com/minecolonies/core/placementhandlers/RackPlacementHandler.java @@ -68,7 +68,7 @@ public List 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)) {