mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 03:43:41 +01:00
Allow deployer to place cart assemblers
This commit is contained in:
parent
b0a84a9bc1
commit
eb075f683b
1 changed files with 5 additions and 1 deletions
|
@ -8,6 +8,8 @@ import java.util.List;
|
|||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import com.simibubi.create.content.contraptions.components.structureMovement.mounted.CartAssemblerBlockItem;
|
||||
|
||||
import net.minecraft.block.DoublePlantBlock;
|
||||
|
||||
import net.minecraft.state.properties.DoubleBlockHalf;
|
||||
|
@ -281,7 +283,9 @@ public class DeployerHandler {
|
|||
return;
|
||||
if (useItem == DENY)
|
||||
return;
|
||||
if (item instanceof BlockItem && !clickedState.isReplaceable(new BlockItemUseContext(itemusecontext)))
|
||||
if (item instanceof BlockItem
|
||||
&& !(item instanceof CartAssemblerBlockItem)
|
||||
&& !clickedState.isReplaceable(new BlockItemUseContext(itemusecontext)))
|
||||
return;
|
||||
|
||||
// Reposition fire placement for convenience
|
||||
|
|
Loading…
Reference in a new issue