diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/BatchGenerationEnvironment.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/BatchGenerationEnvironment.java index 06265cf61..00b1d1cde 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/BatchGenerationEnvironment.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/BatchGenerationEnvironment.java @@ -120,6 +120,7 @@ public final class BatchGenerationEnvironment implements IBatchGeneratorEnvironm public final StepFeatures stepFeatures = new StepFeatures(this); public boolean unsafeThreadingRecorded = false; + public boolean generatedChunkWithoutBiomeWarningLogged = false; public int unknownExceptionCount = 0; public long lastExceptionTriggerTime = 0; @@ -525,6 +526,15 @@ public final class BatchGenerationEnvironment implements IBatchGeneratorEnvironm { genEvent.resultConsumer.accept(wrappedChunk); } + else + { + // this shouldn't happen, but if it does log it + if (!this.generatedChunkWithoutBiomeWarningLogged) + { + this.generatedChunkWithoutBiomeWarningLogged = true; + LOGGER.warn("Chunk [" + dhPos + "] wasn't generated up to BIOMES, world gen may appear empty."); + } + } } } catch (CompletionException | UncheckedInterruptedException e)