mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
[Bleeding] Deprecate Enderman events in favor of EntityChangeBlock
This commit is contained in:
parent
465818ef42
commit
db15c58e31
2 changed files with 10 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue