nextMap = new File("res/maps/" + String.valueOf(x) + "." + String.valueOf(y) + ".tmx");
if(nextMap.exists()) {
try {
s = new ServerMap(loader.readMap(nextMap.getCanonicalPath()), x, y);
s.setMapMatrix(m_mapMatrix);
s.loadData();
m_mapMatrix.setMap(s , x + 50, y + 50);
Thread.sleep(100);
} catch (Exception e) {
System.err.println("Error loading " + x + "." + y + ".tmx - Bad map file");
m_mapMatrix.setMap(null, x + 50, y + 50);