diff --git a/src/main/java/com/simibubi/create/content/kinetics/deployer/DeployerHandler.java b/src/main/java/com/simibubi/create/content/kinetics/deployer/DeployerHandler.java index 152af121a6..c0319a8f35 100644 --- a/src/main/java/com/simibubi/create/content/kinetics/deployer/DeployerHandler.java +++ b/src/main/java/com/simibubi/create/content/kinetics/deployer/DeployerHandler.java @@ -300,6 +300,9 @@ && safeOnUse(clickedState, world, clickedPos, player, hand, result).consumesActi 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 @@ && safeOnUse(clickedState, world, clickedPos, player, hand, result).consumesActi 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))