removed some test code. still 1.7.7
This commit is contained in:
parent
a6171bdf25
commit
47983d5f4d
@ -178,8 +178,8 @@ public class Main {
|
|||||||
try {
|
try {
|
||||||
final long generationStartTimeTracking = System.currentTimeMillis(); //Start of time remaining calculations
|
final long generationStartTimeTracking = System.currentTimeMillis(); //Start of time remaining calculations
|
||||||
|
|
||||||
//final boolean serverLaunch = Server.runMinecraft(); //run server once at spawn point to make sure everything works.
|
final boolean serverLaunch = Server.runMinecraft(); //run server once at spawn point to make sure everything works.
|
||||||
final boolean serverLaunch = true;
|
//final boolean serverLaunch = true; //testing only
|
||||||
if (!(serverLaunch)) {
|
if (!(serverLaunch)) {
|
||||||
System.exit(1); // we got a warning or severe error
|
System.exit(1); // we got a warning or severe error
|
||||||
}
|
}
|
||||||
@ -408,7 +408,7 @@ public class Main {
|
|||||||
final Coordinates tempCoords =
|
final Coordinates tempCoords =
|
||||||
new Coordinates((int) currentX + var.xOffset, 64, (int) currentZ
|
new Coordinates((int) currentX + var.xOffset, 64, (int) currentZ
|
||||||
+ var.zOffset);
|
+ var.zOffset);
|
||||||
//launchList.add(tempCoords);
|
launchList.add(tempCoords);
|
||||||
|
|
||||||
// Write the current Coordinates to log file!
|
// Write the current Coordinates to log file!
|
||||||
//FileWrite.AppendTxtFile(var.worldPath + var.fileSeparator
|
//FileWrite.AppendTxtFile(var.worldPath + var.fileSeparator
|
||||||
@ -461,7 +461,7 @@ public class Main {
|
|||||||
System.gc(); //run the garbage collector - hopefully free up some memory!
|
System.gc(); //run the garbage collector - hopefully free up some memory!
|
||||||
|
|
||||||
currentIteration = 0;
|
currentIteration = 0;
|
||||||
//totalIterations = launchList.size();
|
totalIterations = launchList.size();
|
||||||
Coordinates xyz = null;
|
Coordinates xyz = null;
|
||||||
final Iterator<Coordinates> coordArrayIterator = launchList.iterator();
|
final Iterator<Coordinates> coordArrayIterator = launchList.iterator();
|
||||||
while (coordArrayIterator.hasNext()) {
|
while (coordArrayIterator.hasNext()) {
|
||||||
|
Reference in New Issue
Block a user