Removing 14 deprecated methods per http://bit.ly/mO2f4d

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-06-16 22:06:18 +01:00
parent 876c4074ba
commit dc11d556ba
6 changed files with 9 additions and 90 deletions

View File

@@ -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) {}
}