Fixed wrong event handler type

This commit is contained in:
t3hk0d3 2011-07-20 22:38:38 +04:00
parent eca2c8d8eb
commit 82802548ae

View File

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