Fixed crafting error, added some logging to warn me about similar errors in the future.