Skip to content
Permalink
Browse files

Fixed Driller IC having the wrong value assigned for collectItem.

  • Loading branch information...
me4502 committed Oct 21, 2016
1 parent 1697d5b commit d3fd0e9d55f24c9502a9c6fc60010653c23e50e6
@@ -105,7 +105,7 @@ public boolean drillLine(ItemStack tool, Block blockToBreak) {
if (brokenType != Material.AIR && !BlockType.isNaturalTerrainBlock(brokenType.getId())) return false;
}

ICUtil.collectItem(this, new Vector(0, 2, 0), BlockUtil.getBlockDrops(blockToBreak, tool));
ICUtil.collectItem(this, new Vector(0, 1, 0), BlockUtil.getBlockDrops(blockToBreak, tool));

brokenType = blockToBreak.getType();
blockToBreak.setType(Material.AIR);

0 comments on commit d3fd0e9

Please sign in to comment.
You can’t perform that action at this time.