mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
[Bleeding] Deprecate Enderman events in favor of EntityChangeBlock
By: Aidan Matzko <amatzko48@gmail.com>
This commit is contained in:
parent
0293f10d23
commit
3dcab1536a
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