[Bleeding] Deprecate Enderman events in favor of EntityChangeBlock

By: Aidan Matzko <amatzko48@gmail.com>
This commit is contained in:
Bukkit/Spigot 2012-02-04 12:40:16 -05:00
parent 0293f10d23
commit 3dcab1536a
2 changed files with 10 additions and 0 deletions

View file

@ -5,7 +5,11 @@ import org.bukkit.entity.Entity;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
/**
* @deprecated Use EntityChangeBlockEvent instead
*/
@SuppressWarnings("serial")
@Deprecated
public class EndermanPickupEvent extends EntityEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();

View file

@ -5,7 +5,13 @@ import org.bukkit.entity.Entity;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
/**
*
* @deprecated Use EntityChangeBlockEvent instead
*
*/
@SuppressWarnings("serial")
@Deprecated
public class EndermanPlaceEvent extends EntityEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList();