mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-21 15:54:45 +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;
|
private boolean cancelled;
|
||||||
|
|
||||||
public VehicleDamageEvent(Vehicle vehicle, Entity attacker, int damage) {
|
public VehicleDamageEvent(Vehicle vehicle, Entity attacker, int damage) {
|
||||||
super(Type.ENTITY_DAMAGE, vehicle);
|
super(Type.VEHICLE_DAMAGE, vehicle);
|
||||||
this.attacker = attacker;
|
this.attacker = attacker;
|
||||||
this.damage = damage;
|
this.damage = damage;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue