[SPIGOT-2686] VehicleBlockCollisionEvent on entity collision Created: 20/Sep/16  Updated: 18/Sep/17  Resolved: 12/Oct/16

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

Type: Bug Priority: Minor
Reporter: MTC Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.10, entity, event

Attachments: PNG File A.png     PNG File B.png     PNG File C.png    
Issue Links:
Cloners
is cloned by SPIGOT-3572 VehicleBlockCollisionEvent with non-s... Resolved

 Description   

Setup:

Plugins: just one plugin used to broadcast events.
In game:

Situation:

The minecart coming from dispenser collides with another entity and VehicleEntityCollisionEvent is fired as expected.
But VehicleBlockCollisionEvent is fired too although there is no block.



 Comments   
Comment by MTC [ 30/Aug/17 ]

@md_5

It was fixed in this commit: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/b5fb9a1cd769a0ee1283c47b5b8b54bbf559c9a9#nms-patches/Entity.patch

But shouldn't it be like "bl.getType().isSolid()" instead? As if it happens in grass or other, event will still be incorrectly fired.

Generated at Sun Mar 16 22:57:14 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.