[1.16.5] NullPointer crash when used in void/skylands world
PG85 opened this issue ยท 2 comments
When using Valhelsia-structures with OTG-1.16.5 for normal overworld-like worlds, everything is lovely:
- OTG Wildlands preset, lovely.
When using Valhelsia-structures with OTG-1.16.5 and the Skylands preset, which like the End is a floating islands world, sooner or later I get a nullpointerexception and a crash. I assume this may be due to void worlds not being taken into account?
Log: https://gist.github.com/PG85/8a4db92e0287551326027df10bd4915f
OTG 1.16: https://www.curseforge.com/minecraft/mc-mods/open-terrain-generator/files/3535174
Skylands: https://www.curseforge.com/minecraft/mc-mods/otg-skylands/files
Thanks!
Haven't had the time yet to look closely on how OTG's chunk generator works but could it maybe be that you return null in the getBaseHeight or getBaseColumn method? Because the crash happens due to one of them being null which should normally not happen from what i know.