The-Aether-Team / The-Aether

The original "The Aether" mod, rewritten and ported to modern Minecraft versions.
https://modrinth.com/mod/aether
GNU Lesser General Public License v3.0
359 stars 116 forks source link

Bug: Player relogs into the Aether even if logging out in another dimension #2128

Open darklotus781 opened 6 months ago

darklotus781 commented 6 months ago

What Feature Types Apply to This Bug?

System

Other Type

No response

What Type of Bug Is This?

Unexpected Behavior

Forge Version

47.2.16

The Aether Version

1.4.0

Is This Bug a Conflict With Another Mod?

No

Client Log

Nothing

Crash Report (if applicable)

No response

Steps to Reproduce

Occasionally when a player logs out in a different dimension, they will login in the Aether at the coords they logged out from which means the can essentially be trapped a long ways from their base or portal. This seems to be related to the server setting in the Aether config to spawn in the Aether and not in the overworld. It doesn't seem to be dimension specific either, can be Overworld -> Aether or The Nether -> Aether.

What You Expect To Happen

Realistically, the player should relog and join the world in the dimension and coords they logged out from.

What Actually Happened

Player logs in and is placed in the Aether at the coords they logged out from even if the dimension was different.

Additional Details

I cannot reliably reproduce this but I wonder if it's a timing issue. I haven't looked at your code to fully understand how it's determining when / where to place the player in the overworld but this is the only mod that does that, it's a modpack I built and is heavily customized with KubeJS but nothing that affects which dimension a player relogs or spawns in.

Please Read and Confirm The Following

darklotus781 commented 6 months ago

FYI, this also affects players when they die. Not all the time, but sometimes a player will die in the overworld or nether with a respawn anchor or bed in that dimension but still respawns in the Aether dimension instead of the other dimension.