fix AbstractBlock::getParent

AbstractBlock::getParent returned boolean instead of BlockInterface