-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor
-
None
-
Affects Version/s: None
-
None
-
Environment:
git-Spigot-53e65c9-1ea1adc (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)
When summoning an entity lets say a armor stand and summoning another entity lets say a villager, and then setting the armor stand's passenger as the villager, the armor stand cannot be teleported until the passenger is removed or dead.
ArmorStand armorStand = (ArmorStand) player.getWorld().spawnEntity(player.getLocation(), EntityType.ARMOR_STAND);
Villager villager = (Villager) player.getWorld().spawnEntity(player.getLocation(), EntityType.VILLAGER);
armorStand.setPassenger(villager);
// some delay
armorStand.teleport(player.getLocation());
- is duplicated by
-
SPIGOT-2506 PlayerTeleportEvent doesn't get called when player is a "vehicle"
- Resolved
-
SPIGOT-7497 Allow passengers with Entity#teleport
- Closed
- relates to
-
SPIGOT-7075 Permit players to get teleported while being on a vehicle
- In Progress