public unsafe byte[] GetFallbackMap()
{
byte[] translatedBlocks = ( byte[] )Blocks.Clone();
int volume = translatedBlocks.Length;
fixed ( byte* ptr = translatedBlocks ) {
for ( int i = 0; i < volume; i++ ) {
byte block = ptr[i];
if ( block > ( byte )MaxLegalBlockType ) {
ptr[i] = ( byte )FallbackBlocks[block];
}
}
}
return translatedBlocks;
}