Fixed a crash with the Ritual Diviner when attempting to replace certain blocks. (#967)

This commit is contained in:
WayofTime 2016-11-08 06:54:39 -05:00
parent 97907367a1
commit 1f6c4b47e2
2 changed files with 2 additions and 1 deletions

View file

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