Fixed a bug where getNeighboringBlocks would return only the first block it found