andrewgazelka / hyperion

170,000 player capable Minecraft game engine built in Rust.
https://andrewgazelka.github.io/hyperion/
Apache License 2.0
472 stars 23 forks source link

fix respawn teleportation #606

Closed andrewgazelka closed 4 days ago

andrewgazelka commented 6 days ago

When changing class with the command it triggers the anti-cheat if it wants to teleport you too far.

possible fix:

Future

image

linear[bot] commented 6 days ago

HYP-94 When changing class with the command it triggers the anti-cheat if it wants to teleport you too far.

Kumpelinus commented 4 days ago

I was just about to take a look at this but does the commit https://github.com/andrewgazelka/hyperion/commit/9eb8a7996719444922db6ea7fcb10aa73e8aac40 already fix this?

Kumpelinus commented 4 days ago

I just saw that you changed the title. Since the class changing does not change your position anymore (I assume that is intended) it does not happen for that specific case anymore. Maybe it does not fix the case of a player dying though.

andrewgazelka commented 4 days ago

yea I fixed this