Kir-Antipov / sync-fabric

One mind. Many bodies.
MIT License
17 stars 13 forks source link

Death in Aether Reborn with shell doesn't transfer player back to original. #3

Closed PseudoDistant closed 2 years ago

PseudoDistant commented 2 years ago

Title.

Workaround: Move from the shell you're now stuck in to another shell, and die. (Just dying in any dimension after dying in the Aether will just kill you normally.)

Kir-Antipov commented 2 years ago

Hm. Well, what actually happens when you die as a shell in the Aether dimension?

PseudoDistant commented 2 years ago

Hm. Well, what actually happens when you die as a shell in the Aether dimension?

I die as though I'm not a shell.

Basically I die normally, and respawn in the Overworld. Dying after this point just kills me normally, and gives me the respawn prompt. If I then put the shell I'm in in a shell storage block(s), and move to another shell, then die, I go back to the original body.

Kir-Antipov commented 2 years ago

Got it, thank you for the clarification! I think, I know what can cause the issue. Will investigate into this soon

Kir-Antipov commented 2 years ago

The problem was Aether doesn't use the moveToWorld method to teleport players across dimensions, which is different to vanilla behavior I relied on. That's why your shells weren't synchronized after moving to/out of the Aether dimension via portal/falling from the sky

Anyway, fixed in the latest dev build. Thanks for reporting this one!

PseudoDistant commented 2 years ago

You're welcome. :> And thank you. :D