From 125a3803855ff4beb604cd27b7ba6e39cd44b6be Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 27 Mar 2011 12:35:16 +0200 Subject: [PATCH] Fix Type of VehicleDamageEvent By: Erik Broes --- .../main/java/org/bukkit/event/vehicle/VehicleDamageEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/event/vehicle/VehicleDamageEvent.java b/paper-api/src/main/java/org/bukkit/event/vehicle/VehicleDamageEvent.java index 044cfe82e8..0b8c44adad 100644 --- a/paper-api/src/main/java/org/bukkit/event/vehicle/VehicleDamageEvent.java +++ b/paper-api/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; }