Fixed bug that appeared due to non-standard ore generation