labyrinth+SpongeForge Server Crash
knoxhack opened this issue ยท 3 comments
Without SpongeForge this bug does not exist.
The line containing the NPE is this
LabyrinthChunk chunk = Labyrinth.instance.worldData.getDataForChunk(x, z, world.rand);
In this line worldData
is null. worldData
is first set in the FMLServerStartingEvent
(the code is here) which is not called before the crash, however FMLServerStartingEvent
is called before worldgen when not using SpongeForge.
The event in the server lifecycle that is called earlier (FMLServerAboutToStartEvent
) does not have the overworld loaded and so one can not get the world data from that event.