mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 20:45:10 +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
@ -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 New Issue
Block a user