mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Fix #2366
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user