Removing 14 deprecated methods per http://bit.ly/mO2f4d
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package org.bukkit.event.vehicle;
|
||||
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.plugin.AuthorNagException;
|
||||
|
||||
/**
|
||||
* Listener for vehicle events.
|
||||
@@ -73,11 +72,5 @@ public class VehicleListener implements Listener {
|
||||
*
|
||||
* @param event
|
||||
*/
|
||||
public void onVehicleUpdate(VehicleUpdateEvent event) {
|
||||
onVehicleUpdate((VehicleEvent) event);
|
||||
throw new AuthorNagException("onVehicleUpdate has been replaced with a new signature, (VehicleUpdateEvent)");
|
||||
}
|
||||
|
||||
// TODO: Remove after RB
|
||||
@Deprecated public void onVehicleUpdate(VehicleEvent event) {}
|
||||
public void onVehicleUpdate(VehicleUpdateEvent event) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user