biomeCategory=null, this is fixed if BiomeCategory (in biome) is set to e.g. plains so a fallback is probably required. The same goes for when a biomeCategory does not match a registered biomeCategory.
Expected Behavior
OTG starting up
Which platforms have you reproduced this issue using?
Spigot/Paper
OTG Version
OpenTerrainGenerator-Paper-1.18.2-0.0.27
Platform Version
paper 1.18.2
Steps To Reproduce
Start up OpenTerrainGenerator-Paper-1.18.2-0.0.27
Log file
[0 01:44:22 ERROR]: Error occurred while enabling OpenTerrainGenerator v1.18.2-0.0.27 (Is it up to date?)
java.lang.IllegalStateException: You are missing parameters to build a proper biome
BiomeBuilder{
precipitation=NONE,
biomeCategory=null,
temperature=1.4,
temperatureModifier=NONE,
downfall=0.0,
specialEffects=net.minecraft.world.level.biome.BiomeFog@54a54c0b,
mobSpawnSettings=net.minecraft.world.level.biome.BiomeSettingsMobs@23f3f50f,
generationSettings=net.minecraft.world.level.biome.BiomeSettingsGeneration@44b07aa2,
}
at net.minecraft.world.level.biome.Biome$BiomeBuilder.build(Biome.java:343) ~[?:?]
at com.pg85.otg.paper.biome.PaperBiome.createOTGBiome(PaperBiome.java:238) ~[OpenTerrainGenerator-Paper-1.18.2-0.0.27.jar:?]
at com.pg85.otg.paper.presets.PaperPresetLoader.registerBiomesForPreset(PaperPresetLoader.java:185) ~[OpenTerrainGenerator-Paper-1.18.2-0.0.27.jar:?]
at com.pg85.otg.paper.presets.PaperPresetLoader.registerBiomes(PaperPresetLoader.java:103) ~[OpenTerrainGenerator-Paper-1.18.2-0.0.27.jar:?]
at com.pg85.otg.paper.OTGPlugin.onEnable(OTGPlugin.java:119) ~[OpenTerrainGenerator-Paper-1.18.2-0.0.27.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:541) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:560) ~[paper-1.18.2.jar:git-Paper-388]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:474) ~[paper-1.18.2.jar:git-Paper-388]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:289) ~[paper-1.18.2.jar:git-Paper-388]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1164) ~[paper-1.18.2.jar:git-Paper-388]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-388]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
[0 01:44:22 INFO]: [OpenTerrainGenerator] Disabling OpenTerrainGenerator v1.18.2-0.0.27
Is there an existing issue for this?
Current Behavior
biomeCategory=null, this is fixed if BiomeCategory (in biome) is set to e.g. plains so a fallback is probably required. The same goes for when a biomeCategory does not match a registered biomeCategory.
Expected Behavior
OTG starting up
Which platforms have you reproduced this issue using?
Spigot/Paper
OTG Version
OpenTerrainGenerator-Paper-1.18.2-0.0.27
Platform Version
paper 1.18.2
Steps To Reproduce
Start up OpenTerrainGenerator-Paper-1.18.2-0.0.27
Log file
Anything else?
No response