Fixed custom crafting NPE.