Skip to content

Conversation

@ColombuxMaximus
Copy link
Contributor

Fixes #4296
Ignore relative position data when contact element no longer exists to prevent false teleport events.
(ty @MegadreamsBE for the context)

Before you go ahead and create a pull request, please make sure:

If your work is incomplete, do not prefix your pull request with "WIP", instead
create a draft pull request: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Thank you!

@Dutchman101 Dutchman101 merged commit 3b013dd into multitheftauto:master Jul 15, 2025
6 checks passed
MTABot pushed a commit that referenced this pull request Jul 15, 2025
3b013dd Fix incorrect onPlayerTeleport trigger on destroyed contact element (#4298)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

onPlayerTeleport triggers when standing on a destroyed element

2 participants