[SPIGOT-2454] VehicleExitEvent doesn't detect dismounting an ArmorStand Created: 26/Jun/16  Updated: 26/Jun/16  Resolved: 26/Jun/16

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: MatrixTunnel Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: 1.10, Spigot, bug, entity, event
Environment:

Latest Spigot Version



 Description   

I haven't looked into the code yet on why this doesn't work but the 'VehicleExitEvent' does not trigger when dismounting an ArmorStand



 Comments   
Comment by MatrixTunnel [ 26/Jun/16 ]

Oh! That make more since, thank you

Comment by Black Hole [ 26/Jun/16 ]

VehicleExitEvent is only called for passengers that are LivingEntity exiting an entity that is a Vehicle. For a more general event use EntityDismountEvent.

Comment by MatrixTunnel [ 26/Jun/16 ]

Quick story on how I found this.... Trying to ride an ArmorStand that is riding an EnderPearl. After further testing it looks like I'm riding the EnderPearl and not the ArmorStand. I think this might be a bug too because it's getting the root vehicle and not the vehicle the player is riding.

Generated at Sat Dec 13 13:43:31 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.