-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
It looks like on 1.9 the entity/player location is updated to the move end-point before event event handling.
Calling player.getLocation during handling of PlayerMoveEvent will reflect the target location (event.getTo), which breaks all plugins relying on the old mechanics of having player.getLocation reflect event.getFrom or a micro move "between from and to" (for which no PlayerMoveEvent fired due to not exceeding any threshold).
Plugins can't really know anymore if there has been untracked moves between. For anti cheating plugins this will mean more false positives in the first place.
Set to 'major' due to the breaking nature, feel free to correct that .
- relates to
-
SPIGOT-7384 player.getLocation() equals PlayerMoveEvent.getTo()
- Resolved