mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-23 21:46:40 +01:00
Fix deployer cannot place potato on campfire
https://discordapp.com/channels/620934202875183104/689866656914210897/697585687397925007
This commit is contained in:
parent
830c1c6d3d
commit
e3d3a5de3d
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ public class DeployerHandler {
|
|||
|
||||
static boolean shouldActivate(ItemStack held, World world, BlockPos targetPos) {
|
||||
if (held.getItem() instanceof BlockItem)
|
||||
if (!world.getBlockState(targetPos).getMaterial().isReplaceable())
|
||||
if (world.getBlockState(targetPos).getBlock() == ((BlockItem) held.getItem()).getBlock())
|
||||
return false;
|
||||
|
||||
if (held.getItem() instanceof BucketItem) {
|
||||
|
|
Loading…
Reference in a new issue