This commit is contained in:
Vincent Lee committed 2017-09-18 07:57:11 -05:00
1 parent a18d45a62f
commit e72ceb82c1
1 file changed
+3 -2
@@ -150,9 +150,10 @@ public class ItemLokiRing extends ItemRelicBauble implements IWireframeCoordinat
int fortune = EnchantmentHelper.getEnchantmentLevel(Enchantments.FORTUNE, stack);
boolean dispose = breaker.disposeOfTrashBlocks(stack);
for (BlockPos coords : cursors) {
for (BlockPos offset : cursors) {
BlockPos coords = pos.add(offset);
IBlockState state = world.getBlockState(coords);
breaker.breakOtherBlock(player, stack, coords, coords, side);
breaker.breakOtherBlock(player, stack, coords, pos, side);
ToolCommons.removeBlockWithDrops(player, stack, player.world, coords, pos, state.getBlock(), Collections.singletonList(state.getMaterial()), silk, fortune, dispose);
}
}