Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Teleport takes a long time and makes player wet #1

Open
CrystalFerrai opened this issue Mar 29, 2021 · 0 comments
Open

Teleport takes a long time and makes player wet #1

CrystalFerrai opened this issue Mar 29, 2021 · 0 comments

Comments

@CrystalFerrai
Copy link

CrystalFerrai commented Mar 29, 2021

The MapTeleporter mod attempts to teleport the player under the world, which causes them to get the "wet" status effect and also causes the teleport code to wait for the 15 second timeout, then correct the player position. This can be fixed by correcting the position before calling Player.TeleportTo using this line of code:

position.y = ZoneSystem.instance.GetSolidHeight(position) + 0.5f;
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant