Expected behavior
On Paper, while riding an horse/pig/donkey/mule, with or without a saddle, teleporting a player using teleportAsync dismounts the player and teleports it. Getting the future in an async task returns true.
Observed/Actual behavior
On Folia, while riding an horse/pig/donkey/mule, with or without a saddle, teleporting a player through teleportAsync does nothing. Getting the future in an async task returns false. I've also tested this while travelling between the same chunk, different chunks and different ticking regions.
Steps/models to reproduce
In game, mount an entity (tested with horses, pigs, donkeys and mules) and execute a command executing this:
player.teleportAsync(player.getLocation().add(new Vector(1, 0, 0)));
If debugging, get the future in an async task (using the proper scheduler depending on the server implementation) and log it in console.
Plugin and Datapack List
Only the test plugin containing only the test command (Bukkit type).
Folia version
This server is running Folia version git-Folia-22 (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: d34fb87)
You are running the latest version
Previous version: git-Folia-19 (MC: 1.19.4)
Other
Having parrots on your shoulder (not while riding) doesn't cause problems. They also get teleported (at 1 block distance).
Expected behavior
On Paper, while riding an horse/pig/donkey/mule, with or without a saddle, teleporting a player using teleportAsync dismounts the player and teleports it. Getting the future in an async task returns true.
Observed/Actual behavior
On Folia, while riding an horse/pig/donkey/mule, with or without a saddle, teleporting a player through teleportAsync does nothing. Getting the future in an async task returns false. I've also tested this while travelling between the same chunk, different chunks and different ticking regions.
Steps/models to reproduce
In game, mount an entity (tested with horses, pigs, donkeys and mules) and execute a command executing this:
player.teleportAsync(player.getLocation().add(new Vector(1, 0, 0)));If debugging, get the future in an async task (using the proper scheduler depending on the server implementation) and log it in console.
Plugin and Datapack List
Only the test plugin containing only the test command (Bukkit type).
Folia version
This server is running Folia version git-Folia-22 (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: d34fb87)
You are running the latest version
Previous version: git-Folia-19 (MC: 1.19.4)
Other
Having parrots on your shoulder (not while riding) doesn't cause problems. They also get teleported (at 1 block distance).