NPE with "RIVERS" postprocessor
yavincl opened this issue ยท 0 comments
main config:
{
"configVersion": "0.6.4",
"doModCompat": true,
"reloadConfigCommand": false,
"threadedNoiseGeneration": true,
"deleteLakes": false,
"optimizeForRamUsage": true,
"generateVanillaCaves": true,
"noiseGenerationThreads": 2,
"noiseGenerator": "WORLEY",
"postProcessors": [
"SIMPLEX_CAVES",
"RIVERS"
],
"noiseModifiers": [
"MOUNTAINS",
"RIDGES",
"DETAILS"
],
"mainOctaveAmount": 12,
"mainFrequency": 780.0,
"mainAmplitudeHigh": -74.0,
"mainAmplitudeLow": -245.0,
"mainNetherScale": 30.0,
"netherThresholdScale": 23.0,
"netherThresholdAmplitude": 0.125,
"netherThresholdBase": 0.25,
"lowlandStartHeight": 73,
"midlandStartHeight": 119,
"highlandStartHeight": 136,
"toplandStartHeight": 187,
"biomeScaleAmount": 7,
"temperatureOffset": 0.12,
"humidityOffset": -0.05,
"seaLevel": 70,
"temperatureOctaveAmount": 5,
"humidityOctaveAmount": 3,
"temperatureFrequency": 21.5,
"humidityFrequency": 19.5,
"temperatureAmplitude": 2.0,
"humidityAmplitude": 2.0
}
trace:
Caused by: java.lang.NullPointerException
at supercoder79.simplexterrain.configs.Config.lambda$init$0(Config.java:51)
at supercoder79.simplexterrain.configs.Config$$Lambda$3032/0000000000000000.accept(Unknown Source)
at java.base/java.util.ArrayList.forEach(Unknown Source)
at supercoder79.simplexterrain.configs.Config.init(Config.java:51)
at supercoder79.simplexterrain.SimplexTerrain.onInitialize(SimplexTerrain.java:61)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient$$Lambda$2300/0000000000000000.accept(Unknown Source)
at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50)
... 19 more
Still happens even when noiseModifiers is empty, and without "SIMPLEX_CAVES", too.