Deprecation cleanup.
This commit is contained in:
@@ -13,11 +13,11 @@ import org.bukkit.event.HandlerList;
|
||||
@SuppressWarnings("serial")
|
||||
public class VehicleDestroyEvent extends VehicleEvent implements Cancellable {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private Entity attacker;
|
||||
private final Entity attacker;
|
||||
private boolean cancelled;
|
||||
|
||||
public VehicleDestroyEvent(Vehicle vehicle, Entity attacker) {
|
||||
super(Type.VEHICLE_DESTROY, vehicle);
|
||||
public VehicleDestroyEvent(final Vehicle vehicle, final Entity attacker) {
|
||||
super(vehicle);
|
||||
this.attacker = attacker;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user