[SPIGOT-2466] VehicleExitEvent seems broken Created: 29/Jun/16  Updated: 30/Jun/16  Resolved: 30/Jun/16

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

Type: Bug Priority: Minor
Reporter: TheMrJezza Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: 1.10.2, Bukkit, bug
Environment:

OS: Windows 10 Home 64-Bit
Processor: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz 2.20 GHz
RAM: 8 GB


Attachments: File CheckVehicle.jar    
Issue Links:
Duplicate
duplicates SPIGOT-1588 Can't Cancel VehicleExitEvent Resolved

 Description   

I recorded a video to show what happened. It's not the best Quality, but it does the job. Basically if you cancel the VehicleExitEvent to stop a player leaving a vehicle, it will cancel it once, but not any time after that. You cannot leave the vehicle, but the event is not fired, and the server thinks you're not in a vehicle.

Here's the video:
https://youtu.be/Q2tdrQQE8fM

Here's the code for the /checkvehicle plugin:
http://pastebin.com/F11uy5Aa

Output of /version:
[01:08:47] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-5391d73-287ef78 (MC: 1.10.2) (Implementing API version 1.10.2-R0.1-SNAPSHOT)
[01:08:47] [Server thread/INFO]: Checking version, please wait...
[01:08:48] [Thread-8/INFO]: You are running the latest version



 Comments   
Comment by TheMrJezza [ 30/Jun/16 ]

I was tired when I wrote that description, a better and more clear description would be when the VehicleExitEvent is cancelled, the player remains on the horse client side, but not server side.

Generated at Thu Apr 03 15:54:56 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.