Open Terrain Generator (OTG)

Open Terrain Generator (OTG)

10M Downloads

Crash on server start NoSuchMethodError WorldSettings

Tototi1 opened this issue ยท 6 comments

commented

When I start server with 1.10.2 biome bundle map, the server crash.
crash report :
`Description: Exception in server tick loop

java.lang.NoSuchMethodError: net.minecraft.world.WorldSettings.func_77166_b()Lnet/minecraft/world/WorldSettings;
at com.pg85.otg.forge.OTGWorldType.getBiomeProvider(OTGWorldType.java:70)
at net.minecraft.world.WorldProvider.func_76572_b(WorldProvider.java:58)
at net.minecraft.world.WorldProvider.func_76558_a(WorldProvider.java:40)
at net.minecraft.world.WorldServer.(WorldServer.java:116)
at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:298)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:270)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at java.lang.Thread.run(Unknown Source)`

commented

This is reproduced with OpenTerrainGenerator-1.12.2 - v6.
Issue is due to the mod calling the client side only method WorldSettings::enableCommands() on a server.

commented

Did anyone ever fix this?

commented

Same issue as well with sponge.

net.minecraft.world.WorldSettings.func_77166_b()Lnet/minecraft/world/WorldSettings

commented

It's an easy fix, not sure when PG will have time to implement

commented

fix?

commented

Hey, thanks for reporting. Should be fixed with v7, you can grab a dev build from the OTG Discord at /openterraingen. Cheers.