Fixed a crash with the Mana Enchanter with invalid blocks around.