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

pos update / tp interference workaround #380

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

petersv5
Copy link
Contributor

In 1.20.4 carpet it seems that a /tp command will override any entity pos update done in the same execution regardless of the order of the tp and pos update.

As a workaround update the position of the player in the world switching /tp instead of first switching worlds with a /tp and then position by a pos update.

This fixes #377

In 1.20.4 carpet it seems that a /tp command will override any entity
pos update done in the same execution regardless of the order of the tp
and pos update.

As a workaround update the position of the player in the world switching
/tp instead of first switching worlds with a /tp and then position by a
pos update.

This fixes gnembon#377
Copy link
Collaborator

@Ghoulboy78 Ghoulboy78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think this might affect keepalive.sc?

Copy link
Collaborator

@altrisi altrisi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works, thanks!

@altrisi altrisi merged commit 5e6f182 into gnembon:master Jan 18, 2024
@Softchair
Copy link

Testing in 1.20.6. With the newest carpet 1.4.141 with the option "OpNoCheat" set to true the teleport command will not work as expected

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.

cam.sc does not load pre-/cam location.
4 participants