Attempt to fix re-queuing world gen tasks on handler.get()

This commit is contained in:
James Seibel
2024-01-13 21:55:52 -06:00
parent 0f5cf77f23
commit 9e63f7ed4d
@@ -71,8 +71,9 @@ public class GeneratedFullDataFileHandler extends FullDataFileHandler
IFullDataSource dataSource = super.get(pos);
// add world gen tasks for missing columns in the data source
// if this position hasn't already been queued for generation
IWorldGenerationQueue worldGenQueue = this.worldGenQueueRef.get();
if (worldGenQueue != null)
if (worldGenQueue != null && !this.generatingDataSourceByPos.containsKey(pos))
{
this.queueWorldGenForMissingColumnsInDataSource(worldGenQueue, pos, dataSource);
}