Bug: Can't enter Dimension on Server on Latest 1.18.2 Beta
SHXRKIEgg opened this issue · 16 comments
What happened?
You fixed the Issue of it not crashing on servers but now you cant even enter the Dimension as it doesn't exist or the portal works
Mod Version
Beta 1.18.2 - 1.6.7
Fabric API Version
0.13.3
Relevant log output
N/A
Other mods
Nope
Additional Information
N/A
Also, is this on a world created before adding paradise lost, or a world created with the mod installed?
The Dimension does not exist on server as you can just check it by the /execute in "Dimension" command, works for SP
Was testing it to be added to Better Minecraft Modpack but then I made sure to test it alone first
New World and the log says nothing but here https://pastebin.com/giHrWJER
It seems like it was not tested on server after fix rather just got it launching and thats it
Client - https://pastebin.com/a7qrMAsn
Alright, we think we have a clue about what the issue is. Did your nether and end dimensions work? From the log it looks like they weren't created either.
Alright, we think we have a clue about what the issue is. Did your nether and end dimensions work? From the log it looks like they weren't created either.
yeah they show up but didnt enter them though so not sure
That actually was an unrelated thing, nevermind. Thanks for the response though.
Restarting the server seems to fix the issue. We're working on a solution that will get it right first try.
This is actually a vanilla bug, that’s been around since 1.16 when datapack dinensions were added. It went unnoticed since Fabric Api had a fix bundled with it. 1.18.2 broke this fix and it has not been updated yet.
The server creates the level.dat, which contains all the available dimensions, before it loads the data packs and gets the custom dimensions from there. This causes only vanilla dimensions to be loaded.
The good news though is that this only occurs on dedicated servers, and only on the first launch. Subsequent launches will successfully load the datapack dimensions.
Unsure if this is worth fixing, as it’s simple enough to work around it. And a fix should be added back to FAPI soon.
There is a temporary error condition now, hopefully the message it prints is clear enough.