Ritual diviner will now ignore replaceable blocks (#923)

Tall grass and stuff
This commit is contained in:
Nicholas Ignoffo 2016-09-18 10:50:34 -07:00
parent f7ff728c0d
commit 908c638bb2

View file

@ -146,7 +146,7 @@ public class ItemRitualDiviner extends Item implements IVariantProvider
RitualHelper.setRuneType(world, newPos, component.getRuneType());
return true;
}
} else if (block.isAir(state, world, newPos))
} else if (block.isAir(state, world, newPos) || block.isReplaceable(world, pos))
{
if (!consumeStone(stack, world, player))
{