[SPIGOT-2397] Wrong event fired when minecarts collides with another minecart Created: 12/Jun/16  Updated: 12/Jun/16  Resolved: 12/Jun/16

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

Type: Bug Priority: Minor
Reporter: wiigor Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.10, VehicleBlockCollisionEvent, VehicleEntityCollisionEvent, minecart


 Description   

Situation

two minecarts collide.

Expected behavior

Vehicle*Entity*CollisionEvent is fired.

(it works like this in spigot 1.9.4)

actual behavior:

VehicleBlockCollisionEvent is fired.

Please fix this issue as for train plugins this makes it impossible to detect/handle entities on the rail and to initially couple the minecarts into longer trains by detecting their collisions.



 Comments   
Comment by wiigor [ 12/Jun/16 ]

Wow that was amazing. Thanks for the fast fix MD_5

Generated at Tue Apr 08 03:01:07 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.