From 6d987ec850f4616c9613d9b8b12494f5819993cf Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sun, 27 Mar 2011 12:35:16 +0200 Subject: Fix Type of VehicleDamageEvent --- src/main/java/org/bukkit/event/vehicle/VehicleDamageEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/org/bukkit/event/vehicle/VehicleDamageEvent.java b/src/main/java/org/bukkit/event/vehicle/VehicleDamageEvent.java index 044cfe82..0b8c44ad 100644 --- a/src/main/java/org/bukkit/event/vehicle/VehicleDamageEvent.java +++ b/src/main/java/org/bukkit/event/vehicle/VehicleDamageEvent.java @@ -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; } -- cgit v1.2.3