Fixed crashes with mighty smelting book