Mr.Clean 2.0
DHDistant Horizons
•Created by Mr.Clean 2.0 on 5/8/2025 in #help-me
e2mc crash
It seems that when hosting a world with e4mc and DH on fabric, upon a save/exit, the game will crash. I tested this with only e4mc and the latest nightly build of DH, and the stable release of DH, both cause a crash
The specific error seems to be:
[01:53:28] [Server thread/ERROR]: Exception stopping the server
java.util.NoSuchElementException: No value present
at java.util.Optional.get(Optional.java:143) ~[?:?]
at loaderCommon.fabric.com.seibel.distanthorizons.common.wrappers.world.ServerLevelWrapper.getWorldFolderName(ServerLevelWrapper.java:119) ~[DistantHorizons-fabric-forge-2.3.2-b-1.20.1.jar:?]
It seems like the way e4mc works, makes it so that the server has no world name for DH to use, causing the crash, but im not too sure. For clarity, no one had joined the world though a server was opened, I was just testing to see how hosting through e4mc worked
9 replies