diff --git a/src/main/java/ru/tehkode/modifyworld/handlers/VehicleListener.java b/src/main/java/ru/tehkode/modifyworld/handlers/VehicleListener.java index d801bf0..026d5e2 100644 --- a/src/main/java/ru/tehkode/modifyworld/handlers/VehicleListener.java +++ b/src/main/java/ru/tehkode/modifyworld/handlers/VehicleListener.java @@ -38,7 +38,7 @@ public class VehicleListener extends ModifyworldListener { super(plugin, config); } - @EventHandler(Type.VEHICLE_DESTROY) + @EventHandler(Type.VEHICLE_DAMAGE) public void onVehicleDamage(VehicleDamageEvent event) { if (!(event.getAttacker() instanceof Player)) { return;