Possible fix for the Magnetism ritual. Also turned Life Essence into a "solid" block for rendering
This commit is contained in:
parent
dd3c241fd7
commit
ffdd72171b
2 changed files with 10 additions and 4 deletions
|
@ -141,7 +141,7 @@ public class RitualMagnetic extends Ritual
|
|||
BlockPos newPos = pos.add(i, j, k);
|
||||
IBlockState state = world.getBlockState(newPos);
|
||||
Block block = state.getBlock();
|
||||
ItemStack checkStack = block.getPickBlock(state, null, world, pos, null);
|
||||
ItemStack checkStack = block.getPickBlock(state, null, world, newPos, null);
|
||||
// int meta = block.getMetaFromState(state);
|
||||
|
||||
if (isBlockOre(checkStack))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue