diff options
author | Aidan Matzko <amatzko48@gmail.com> | 2012-02-04 12:40:16 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-09 11:32:12 -0500 |
commit | db15c58e31f96609c35ab0dbcf1fc986c3d18643 (patch) | |
tree | f905a9f26ad64e561fc5b554588f59076120d56e /src | |
parent | 465818ef4220cb86604a31b1c9c7ad6db52e27d5 (diff) | |
download | bukkit-db15c58e31f96609c35ab0dbcf1fc986c3d18643.tar bukkit-db15c58e31f96609c35ab0dbcf1fc986c3d18643.tar.gz bukkit-db15c58e31f96609c35ab0dbcf1fc986c3d18643.tar.lz bukkit-db15c58e31f96609c35ab0dbcf1fc986c3d18643.tar.xz bukkit-db15c58e31f96609c35ab0dbcf1fc986c3d18643.zip |
[Bleeding] Deprecate Enderman events in favor of EntityChangeBlock
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EndermanPickupEvent.java | 4 | ||||
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EndermanPickupEvent.java b/src/main/java/org/bukkit/event/entity/EndermanPickupEvent.java index c3207a66..c5372ad9 100644 --- a/src/main/java/org/bukkit/event/entity/EndermanPickupEvent.java +++ b/src/main/java/org/bukkit/event/entity/EndermanPickupEvent.java @@ -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(); diff --git a/src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java b/src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java index ecb3f231..1b07c4d2 100644 --- a/src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java +++ b/src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java @@ -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(); |