Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong destination for entity portal teleport #269

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

benwoo1110
Copy link
Member

@benwoo1110 benwoo1110 commented Aug 27, 2024

Previously toLocation and toWorld is used to create the new destination portal which is wrong, as that is the original value by the event, and not the new location by the np-portal linking. Renamed the variables to clearly reflect if the variable is the original or new location.

@benwoo1110 benwoo1110 merged commit b539342 into main Aug 27, 2024
2 checks passed
@benwoo1110 benwoo1110 deleted the ben/fix-entity-teleport branch August 27, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants