Possible fix for the Magnetism ritual. Also turned Life Essence into a "solid" block for rendering

This commit is contained in:
WayofTime 2016-07-02 19:35:08 -04:00
parent dd3c241fd7
commit ffdd72171b
2 changed files with 10 additions and 4 deletions

View file

@ -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))