diff --git a/Common/src/main/java/terrablender/mixin/MixinMultiNoiseBiomeSource.java b/Common/src/main/java/terrablender/mixin/MixinMultiNoiseBiomeSource.java index 50faae0..1a77137 100644 --- a/Common/src/main/java/terrablender/mixin/MixinMultiNoiseBiomeSource.java +++ b/Common/src/main/java/terrablender/mixin/MixinMultiNoiseBiomeSource.java @@ -51,6 +51,6 @@ public void addDebugInfo(List debugLines, BlockPos pos, Climate.Sampler int qx = QuartPos.fromBlock(pos.getX()); int qz = QuartPos.fromBlock(pos.getZ()); IExtendedParameterList> extension = (IExtendedParameterList>) this.parameters(); - debugLines.add("Region: " + extension.getRegion(extension.getUniqueness(qx, 0, qz)).getName().toString()); + if (extension.isInitialized()) debugLines.add("Region: " + extension.getRegion(extension.getUniqueness(qx, 0, qz)).getName().toString()); } }