[Help] Distant Horizons crash when unloading world (NullPointerException)
Hi! Iâm having a repeated crash with Distant Horizons when closing a world or switching out of Flashbackâs replay viewer.
Both Flashback and Distant Horizons are on their latest versions, but the game crashes as soon as the world is unloaded.
Here is the relevant part of the error:
It looks like Distant Horizons tries to access a world/dimension that no longer exists, causing the crash.
Iâll upload my full logs here so you can check them.
Let me know if you need anything else!
Both Flashback and Distant Horizons are on their latest versions, but the game crashes as soon as the world is unloaded.
Here is the relevant part of the error:
java.lang.NullPointerException: Cannot invoke "ServerWorld.method_14178()" because the return value of "MinecraftServer.method_3847(...)" is null
atServerLevelWrapper.getWorldFolderName()
atDhClientServerLevel.close()
Happens when disconnecting or when Flashbackâs replay environment shuts down.
It looks like Distant Horizons tries to access a world/dimension that no longer exists, causing the crash.
Iâll upload my full logs here so you can check them.
Let me know if you need anything else!