document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. if (x < 0 || x >= Width || y < 0 || y >= Height)
  2.     id = border;
  3. else
  4.     id = blocks[layerIndex, x, y];
');