Fix Type of VehicleDamageEvent

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot 2011-03-27 12:35:16 +02:00
parent c640518469
commit 125a380385

View file

@ -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;
}