summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAidan Matzko <amatzko48@gmail.com>2012-02-04 12:40:16 -0500
committerEvilSeph <evilseph@gmail.com>2012-02-09 11:32:12 -0500
commitdb15c58e31f96609c35ab0dbcf1fc986c3d18643 (patch)
treef905a9f26ad64e561fc5b554588f59076120d56e /src
parent465818ef4220cb86604a31b1c9c7ad6db52e27d5 (diff)
downloadbukkit-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.java4
-rw-r--r--src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java6
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();