This commit is contained in:
modmuss50 2019-03-06 14:48:53 +00:00
parent b560a5483d
commit 8270f57e6f

View file

@ -105,6 +105,7 @@ public class ItemAdvancedDrill extends ItemDrill {
capEnergy.extractEnergy(cost, false);
ExternalPowerSystems.requestEnergyFromArmor(capEnergy, playerIn);
blockState.getBlock().removedByPlayer(blockState, world, pos, playerIn, true);
blockState.getBlock().harvestBlock(world, playerIn, pos, blockState, world.getTileEntity(pos), drill);
world.setBlockToAir(pos);
world.removeTileEntity(pos);