diff options
Diffstat (limited to 'src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java b/src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java index 1c85eb78..ecb3f231 100644 --- a/src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java +++ b/src/main/java/org/bukkit/event/entity/EndermanPlaceEvent.java @@ -3,9 +3,11 @@ package org.bukkit.event.entity; import org.bukkit.Location; import org.bukkit.entity.Entity; import org.bukkit.event.Cancellable; +import org.bukkit.event.HandlerList; @SuppressWarnings("serial") public class EndermanPlaceEvent extends EntityEvent implements Cancellable { + private static final HandlerList handlers = new HandlerList(); private boolean cancel; private Location location; @@ -32,4 +34,13 @@ public class EndermanPlaceEvent extends EntityEvent implements Cancellable { public Location getLocation() { return location; } + + @Override + public HandlerList getHandlers() { + return handlers; + } + + public static HandlerList getHandlerList() { + return handlers; + } } |