if (b != null && b.getChunk().isLoaded()) {
BlockMaterial mat = b.getMaterial();
short data = b.getBlockData();
if (mat.getId() == VanillaMaterials.LEAVES.getId() && !Leaves.isPlayerPlaced(data)) {
if (!isLeafAttached(b, LOG_SCAN_RANGE)) {
mat.destroy(b, new MaterialCause<Log>(this.cause, VanillaMaterials.LOG, this.center));
found = true;
blocks.set(index, null);
break;
}
}