Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 1.18.2 v0.0.27 OTG does not start when biomecategory is null or anything that is not recognized as biomecategory. #987

Open
1 task done
NLBlackEagle opened this issue Feb 9, 2023 · 0 comments
Assignees
Labels
Bug Catchall for bug reports Needs validation Newly-submitted issues that require validation and sorting

Comments

@NLBlackEagle
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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

[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

Anything else?

No response

@NLBlackEagle NLBlackEagle added Bug Catchall for bug reports Needs validation Newly-submitted issues that require validation and sorting labels Feb 9, 2023
@NLBlackEagle NLBlackEagle changed the title [Bug]: OTG does not start when biomecategory is null or anything that is not recognized as biomecategory. [Bug]: 1.18.2 v0.0.27 OTG does not start when biomecategory is null or anything that is not recognized as biomecategory. Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Catchall for bug reports Needs validation Newly-submitted issues that require validation and sorting
Projects
None yet
Development

No branches or pull requests

2 participants