Flying player is teleported to ground when moving in AFK mode
Josh65-2201 opened this issue ยท 2 comments
Type of bug
Other unexpected behaviour
/ess dump all
output
Doesnt work (Error while creating dump {"status":"error","error":"internal_server_error"}.)
Error log (if applicable)
No response
Bug description
When im in fly mode then go in afk mode with all protection toggles in the config enabled. Moving with WASD the player is teleported to the ground/close suface possible.
Steps to reproduce
- Enable auto afk in config
- set freeze-afk-players: true, disable-item-pickup-while-afk: true, cancel-afk-on-interact: true, cancel-afk-on-move: true, cancel-afk-on-chat: true
- fly in game
- enable afk
- move around
Expected behaviour
I should stay were i was.
Actual behaviour
y position not saved
Can this be reproduced with just freeze-afk-players: true
?
I think this is our culprit:
Perhaps simply not using safe location if the player is flying? I'm not a fan of not using safe location, personally.