Derployer

- Revert #5266 in favour of fixing #5674, (#6048)
This commit is contained in:
simibubi 2024-07-25 19:55:34 +02:00
parent c013173265
commit f6a4851140

View file

@ -300,6 +300,9 @@ public class DeployerHandler {
return;
if (useItem == DENY)
return;
if (item instanceof BlockItem && !(item instanceof CartAssemblerBlockItem)
&& !clickedState.canBeReplaced(new BlockPlaceContext(itemusecontext)))
return;
// Reposition fire placement for convenience
if (item == Items.FLINT_AND_STEEL) {
@ -322,9 +325,6 @@ public class DeployerHandler {
return;
}
if (item instanceof BlockItem && !(item instanceof CartAssemblerBlockItem)
&& !clickedState.canBeReplaced(new BlockPlaceContext(itemusecontext)))
return;
if (item == Items.ENDER_PEARL)
return;
if (AllItemTags.DEPLOYABLE_DRINK.matches(item))