Browse Source

Update to console output.

master
MagicBot 2 years ago
parent
commit
c3f059c7fc
  1. 9
      src/engine/util/MapLoader.java

9
src/engine/util/MapLoader.java

@ -54,17 +54,18 @@ public enum MapLoader {
realmUUID = RealmMap.getRealmIDByColor(pixelColor); realmUUID = RealmMap.getRealmIDByColor(pixelColor);
realmMap[j][i] = realmUUID; realmMap[j][i] = realmUUID;
bytesRead++; bytesRead++;
if (realmUUID != 0) if (realmUUID != 0)
realmsWritten++; realmsWritten++;
} }
} }
timeToLoad = System.currentTimeMillis() - timeToLoad; timeToLoad = System.currentTimeMillis() - timeToLoad;
Logger.info( bytesRead + "Realm imageMNap pixels processed in " + timeToLoad / 1000 + " seconds"); Logger.info(bytesRead + " pixels processed in " + timeToLoad / 1000 + " seconds");
Logger.info(realmsWritten + " realm pixels written ");
return realmMap; return realmMap;
} }

Loading…
Cancel
Save