minor world gen method renaming

This commit is contained in:
James Seibel
2023-09-27 07:54:05 -05:00
parent 2c6f2717f0
commit 42d80cbe34
3 changed files with 3 additions and 5 deletions
@@ -105,6 +105,7 @@ public class GeneratedFullDataFileHandler extends FullDataFileHandler
* Assigns the queue for handling world gen and does first time setup as well. <br>
* Assumes there isn't a pre-existing queue.
*/
public void setWorldGenerationQueue(IWorldGenerationQueue newWorldGenQueue)
{
boolean oldQueueExists = this.worldGenQueueRef.compareAndSet(null, newWorldGenQueue);
LodUtil.assertTrue(oldQueueExists, "previous world gen queue is still here!");
@@ -45,9 +45,6 @@ public final class WorldGenTask
this.future = future;
}
public boolean StillValid()
{
return taskTracker.isMemoryAddressValid();
}
public boolean StillValid() { return this.taskTracker.isMemoryAddressValid(); }
}
@@ -79,7 +79,7 @@ public class WorldGenModule implements Closeable
newWgs.closeAsync(false);
}
dataFileHandler.addWorldGenCompleteListener(this.onWorldGenCompleteListener);
dataFileHandler.setGenerationQueue(newWgs.worldGenerationQueue);
dataFileHandler.setWorldGenerationQueue(newWgs.worldGenerationQueue);
}
public void stopWorldGen(GeneratedFullDataFileHandler dataFileHandler)