Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VehicleEntityCollisionEvent fired with VehicleBlockCollisionEvent #10941

Open
exceptioncoding opened this issue Jun 21, 2024 · 0 comments
Open
Labels
status: needs triage type: bug Something doesn't work as it was intended to. version: 1.20.6 Game version 1.20.6

Comments

@exceptioncoding
Copy link

Expected behavior

The VehicleEntityCollisionEvent should only be triggered if the event parameter is a VehicleEntityCollisionEvent.

Observed/Actual behavior

The VehicleEntityCollisionEvent gets triggered with a VehicleBlockCollisionEvent as event parameter.

Steps/models to reproduce

    @EventHandler
    public void onVehicleCollision(VehicleEntityCollisionEvent event) {
        plugin.getLogger().info("Vehicle collision event triggered with " + event.getClass().getName());
    }

Plugin and Datapack List

/plugins

Server Plugins (1):
Bukkit Plugins:
- CollisionExample

/datapack list

There are 3 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)], [paper (built-in)]
There are no more data packs available

Paper version

This server is running Paper version 1.20.6-147-ver/1.20.6@e41d44f (2024-06-17T19:24:35Z) (Implementing API version 1.20.6-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.20.6-146-122c9d3 (MC: 1.20.6)

Other

No response

@exceptioncoding exceptioncoding added status: needs triage type: bug Something doesn't work as it was intended to. labels Jun 21, 2024
@papermc-sniffer papermc-sniffer bot added the version: 1.20.6 Game version 1.20.6 label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: bug Something doesn't work as it was intended to. version: 1.20.6 Game version 1.20.6
Projects
Status: 🕑 Needs Triage
Development

No branches or pull requests

1 participant