gnembon / scarpet

Public Repository of scarpet programs for Minecraft
Creative Commons Zero v1.0 Universal
359 stars 161 forks source link

pos update / tp interference workaround #380

Closed petersv5 closed 8 months ago

petersv5 commented 8 months ago

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

Softchair commented 3 months ago

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