Fixed ore dictionary crash