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
6 Replies
got the mod name wrong in the title, e4mc not e2mc
this also happens with the world host fabric mod:
https://modrinth.com/mod/world-host
Modrinth
World Host - Minecraft Mod
Host your singleplayer worlds without having to run a server or setup port forwarding!
Solution
update to nightly
i tried both nightly and the latest stable
send log from nightly
my bad, i just checked and I had run the latest fabric and the bukkit-paper nightly, not the fabric nightly, the fabric nightly fixed the issue. Thank you for your time!