mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
Fix Type of VehicleDamageEvent
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
c640518469
commit
125a380385
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…
Reference in a new issue