Fixed a crash with the Ritual Diviner when attempting to replace certain blocks. (#967)
This commit is contained in:
parent
97907367a1
commit
1f6c4b47e2
2 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ Version 2.1.0-67
|
||||||
- Made it so peaceful animals provide more LP by default (to encourage creating your own farm).
|
- Made it so peaceful animals provide more LP by default (to encourage creating your own farm).
|
||||||
- Increased the effectiveness of animals for the Gathering of the Forsaken Souls ritual by a factor of 4.
|
- Increased the effectiveness of animals for the Gathering of the Forsaken Souls ritual by a factor of 4.
|
||||||
- Added the framework for the Purification Altar.
|
- Added the framework for the Purification Altar.
|
||||||
|
- Fixed a crash with the Ritual Diviner when attempting to replace certain blocks.
|
||||||
|
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
Version 2.1.0-66
|
Version 2.1.0-66
|
||||||
|
|
|
@ -160,7 +160,7 @@ public class ItemRitualDiviner extends Item implements IVariantProvider
|
||||||
RitualHelper.setRuneType(world, newPos, component.getRuneType());
|
RitualHelper.setRuneType(world, newPos, component.getRuneType());
|
||||||
return true;
|
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))
|
if (!consumeStone(stack, world, player))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue