diff options
author | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2013-07-12 16:45:42 -0600 |
---|---|---|
committer | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2013-07-13 13:29:32 -0600 |
commit | cebc247b78e14c7bc236d69010e1000d53be28ef (patch) | |
tree | a54345c2058257476570d19aba1572955c9da659 /src/main/java/net/minecraft/server/EntityMushroomCow.java | |
parent | 67f15266dae4d2963d5351fb20f40de63acd721e (diff) | |
download | craftbukkit-cebc247b78e14c7bc236d69010e1000d53be28ef.tar craftbukkit-cebc247b78e14c7bc236d69010e1000d53be28ef.tar.gz craftbukkit-cebc247b78e14c7bc236d69010e1000d53be28ef.tar.lz craftbukkit-cebc247b78e14c7bc236d69010e1000d53be28ef.tar.xz craftbukkit-cebc247b78e14c7bc236d69010e1000d53be28ef.zip |
Correctly fire VehicleExitEvent. Fixes BUKKIT-3761
This change makes it so that EntityHuman#setPassengerOf(Entity) invokes
its parent method when leaving vehicles so that VehicleExitEvent is fired
for players leaving vehicles.
This change also fixes BUKKIT-2110, making it so VehicleExitEvent
correctly handles cancellation. The implementation of VehicleExitEvent
completely ignored the cancellation state of the event, making it so that
cancelling the event had no effect. Cancelling a VehicleExitEvent now
causes the entity to remain inside of the vehicle, with no visual stutter.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityMushroomCow.java')
0 files changed, 0 insertions, 0 deletions