Quick fix for 1.2.3 (int oreType is now ushort oreType)