mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
Fix Type of VehicleDamageEvent
This commit is contained in:
parent
cc899b0048
commit
6d987ec850
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ public class VehicleDamageEvent extends VehicleEvent implements Cancellable {
|
|||
private boolean cancelled;
|
||||
|
||||
public VehicleDamageEvent(Vehicle vehicle, Entity attacker, int damage) {
|
||||
super(Type.ENTITY_DAMAGE, vehicle);
|
||||
super(Type.VEHICLE_DAMAGE, vehicle);
|
||||
this.attacker = attacker;
|
||||
this.damage = damage;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue